diff --git a/configuration.nix b/configuration.nix index 212ed28..60fb34e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -57,8 +57,8 @@ boot.initrd.luks.devices."luks-3b571a97-616b-4dd7-9abb-d1e0491d178a".allowDiscards = true; # Allow discard on / - boot.initrd.luks.devices."a09877ce-f520-429a-9f3b-57b073e4d662".device = "/dev/disk/by-uuid/a09877ce-f520-429a-9f3b-57b073e4d662"; - boot.initrd.luks.devices."a09877ce-f520-429a-9f3b-57b073e4d662".allowDiscards = true; + boot.initrd.luks.devices."luks-a09877ce-f520-429a-9f3b-57b073e4d662".device = "/dev/disk/by-uuid/a09877ce-f520-429a-9f3b-57b073e4d662"; + boot.initrd.luks.devices."luks-a09877ce-f520-429a-9f3b-57b073e4d662".allowDiscards = true; networking.hostName = "bridge"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. diff --git a/hardware-configuration.nix b/hardware-configuration.nix index ba2a597..e17b1b3 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -14,7 +14,9 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/e45731e0-2052-4bfa-a0e8-8cc8f688ad89"; + { + device = "/dev/disk/by-uuid/e45731e0-2052-4bfa-a0e8-8cc8f688ad89"; + # device = "/dev/disk/by-uuid/a09877ce-f520-429a-9f3b-57b073e4d662"; fsType = "ext4"; }; @@ -26,7 +28,9 @@ }; swapDevices = - [ { device = "/dev/disk/by-uuid/29f26db6-b544-4744-b6d8-74ed071b2baf"; } + [ + { device = "/dev/disk/by-uuid/29f26db6-b544-4744-b6d8-74ed071b2baf";} + # { device = "/dev/disk/by-uuid/3b571a97-616b-4dd7-9abb-d1e0491d178a";} ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking