diff options
Diffstat (limited to 'modules/hosts/adam')
| -rw-r--r-- | modules/hosts/adam/hardware-configuration.nix | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/modules/hosts/adam/hardware-configuration.nix b/modules/hosts/adam/hardware-configuration.nix index be6cc0a..4793291 100644 --- a/modules/hosts/adam/hardware-configuration.nix +++ b/modules/hosts/adam/hardware-configuration.nix @@ -1,6 +1,3 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. { flake.modules.nixos.adam = { @@ -14,8 +11,8 @@ "nvme" "xhci_pci" "ahci" - "usbhid" "usb_storage" + "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ ]; @@ -23,15 +20,15 @@ boot.extraModulePackages = [ ]; fileSystems."/" = { - device = "/dev/mapper/luks-37471d57-a31d-4bf1-b219-9992bafe7b64"; + device = "/dev/mapper/luks-2e381c8d-394c-4027-953a-4dee645bdcc0"; fsType = "ext4"; }; - boot.initrd.luks.devices."luks-37471d57-a31d-4bf1-b219-9992bafe7b64".device = - "/dev/disk/by-uuid/37471d57-a31d-4bf1-b219-9992bafe7b64"; + boot.initrd.luks.devices."luks-2e381c8d-394c-4027-953a-4dee645bdcc0".device = + "/dev/disk/by-uuid/2e381c8d-394c-4027-953a-4dee645bdcc0"; fileSystems."/boot" = { - device = "/dev/disk/by-uuid/8E50-FCCA"; + device = "/dev/disk/by-uuid/A31A-E5AD"; fsType = "vfat"; options = [ "fmask=0077" @@ -40,10 +37,11 @@ }; swapDevices = [ - { device = "/dev/mapper/luks-803851e9-7fa8-4367-a927-0bb76d0fe830"; } + { device = "/dev/mapper/luks-c8c2ebcd-5e0d-4523-8cf6-b7fdf67c14a4"; } ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }; + } |
