about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
Diffstat (limited to 'machines')
-rw-r--r--machines/t14/hardware-configuration.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/machines/t14/hardware-configuration.nix b/machines/t14/hardware-configuration.nix
index 5850b44..d4bd9e0 100644
--- a/machines/t14/hardware-configuration.nix
+++ b/machines/t14/hardware-configuration.nix
@@ -19,6 +19,8 @@
   boot.kernelModules = [ "kvm-amd" ];
   boot.extraModulePackages = [ ];
 
+  boot.resumeDevice = "/dev/disk/by-uuid/5f31e34f-75d3-415a-9ed2-88d2c2d630b7";
+
   fileSystems."/" =
     { device = "/dev/disk/by-uuid/a8ba9580-b089-4cbb-98e3-52faa0a2dca8";
       fsType = "btrfs";
@@ -31,7 +33,7 @@
       options = [ "fmask=0022" "dmask=0022" ];
     };
 
-  swapDevices = [ ];
+  swapDevices = [ { device = "/dev/disk/by-uuid/5f31e34f-75d3-415a-9ed2-88d2c2d630b7"; } ];
 
   # 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