diff --git a/hosts/Ratchet/hardware-Ratchet.nix b/hosts/Ratchet/hardware-Ratchet.nix index d5869ef..70241a2 100644 --- a/hosts/Ratchet/hardware-Ratchet.nix +++ b/hosts/Ratchet/hardware-Ratchet.nix @@ -61,8 +61,10 @@ services.nfs.server.enable = true; - swapDevices = [ ]; - + swapDevices = [ { device = "/dev/mapper/luks-swap"; } ]; + boot.kernel.sysctl."vm.swappiness" = 0; + boot.zfs.allowHibernation = true; + boot.zfs.forceImportRoot = false; boot.supportedFilesystems = [ "zfs" ]; networking.hostId = "63367a21";