From 67cb494c162a94e63873b17110b5edd17383c8f0 Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca Date: Sat, 3 Aug 2024 23:02:57 +0200 Subject: [PATCH] FIx swap --- hosts/frues-port/hardware-configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/frues-port/hardware-configuration.nix b/hosts/frues-port/hardware-configuration.nix index 011f35d..89b5fcd 100644 --- a/hosts/frues-port/hardware-configuration.nix +++ b/hosts/frues-port/hardware-configuration.nix @@ -29,8 +29,10 @@ fsType = "vfat"; }; + boot.initrd.luks.devices."luks-d56d945e-77a6-4061-ab03-80c2830c6cd3".device = "/dev/disk/by-uuid/d56d945e-77a6-4061-ab03-80c2830c6cd3"; + swapDevices = [ - {device = "/dev/disk/by-uuid/5f19b076-bad1-4201-b13b-f4aa20b48c3a";} + {device = "/dev/disk/by-uuid/77baf723-2a3d-4c90-9323-6ee1a875cbd8";} ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking