diff --git a/hosts/muon/hardware-configuration.nix b/hosts/muon/hardware-configuration.nix index 897293c..d48ea43 100644 --- a/hosts/muon/hardware-configuration.nix +++ b/hosts/muon/hardware-configuration.nix @@ -18,7 +18,10 @@ fsType = "ext4"; }; - boot.initrd.luks.devices."luks-86769693-b61c-4712-852d-e0fba612d260".device = "/dev/disk/by-uuid/86769693-b61c-4712-852d-e0fba612d260"; + boot.initrd.luks.devices = { + "luks-86769693-b61c-4712-852d-e0fba612d260".device = "/dev/disk/by-uuid/86769693-b61c-4712-852d-e0fba612d260" + "luks-0418acfc-792c-43f4-a887-cc8bb51fa7c3".device = "/dev/disk/by-uuid/0418acfc-792c-43f4-a887-cc8bb51fa7c3" + }; fileSystems."/mnt/bulk" = { device = "/dev/disk/by-uuid/11c2c896-d49a-4d9b-a846-b0a550128395"; @@ -31,7 +34,12 @@ options = [ "fmask=0022" "dmask=0022" ]; }; - swapDevices = [ ]; + swapDevices = [{ + device = "/dev/disk/by-uuid/e7cf209d-386d-41db-8a35-6c9fff014722"; + } { + device = "/var/lib/swapfile"; + size = 8*1024; + }]; # 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