diff --git a/nixos/hosts/nixos-framework/disks.nix b/nixos/hosts/nixos-framework/disks.nix index 453a90eb..2b580e42 100644 --- a/nixos/hosts/nixos-framework/disks.nix +++ b/nixos/hosts/nixos-framework/disks.nix @@ -74,7 +74,7 @@ type = "luks"; name = "SWAP"; settings = { - keyFile = "/tmp/swap.key"; + keyFile = "/etc/swap.key"; allowDiscards = true; }; content = {