diff --git a/hosts/hakase/hardware-configuration.nix b/hosts/hakase/hardware-configuration.nix index aaae6c2..8997e37 100644 --- a/hosts/hakase/hardware-configuration.nix +++ b/hosts/hakase/hardware-configuration.nix @@ -14,33 +14,19 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/43a2db2f-a691-4094-b4c7-11853627de39"; - fsType = "btrfs"; - options = [ "subvol=@" ]; + { device = "/dev/mapper/luks-9091013c-0763-40a6-8316-d44d52df3530"; + fsType = "ext4"; }; + boot.initrd.luks.devices."luks-9091013c-0763-40a6-8316-d44d52df3530".device = "/dev/disk/by-uuid/9091013c-0763-40a6-8316-d44d52df3530"; + fileSystems."/boot" = - { device = "/dev/disk/by-uuid/C4BB-A8B7"; + { device = "/dev/disk/by-uuid/B332-BF84"; fsType = "vfat"; options = [ "fmask=0077" "dmask=0077" ]; }; - fileSystems."/home" = - { device = "/dev/disk/by-uuid/780aa81f-c4d6-478b-9c51-2d60362fdb07"; - fsType = "ext4"; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/b02ef55c-4caf-4a24-a6a2-fb8001eafe22"; } - ]; - - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking - # (the default) this is the recommended approach. When using systemd-networkd it's - # still possible to use this option, but it's recommended to use it in conjunction - # with explicit per-interface declarations with `networking.interfaces..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enp11s0.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp10s0.useDHCP = lib.mkDefault true; + swapDevices = [ ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;