diff --git a/nixos/hosts/nixos-framework/disks.nix b/nixos/hosts/nixos-framework/disks.nix index 83913641..694497ec 100644 --- a/nixos/hosts/nixos-framework/disks.nix +++ b/nixos/hosts/nixos-framework/disks.nix @@ -4,8 +4,6 @@ services.btrfs.autoScrub.enable = true; services.btrfs.autoScrub.interval = "weekly"; - boot.initrd.luks.devices.SWAP.preLVM = false; - disko.devices.disk.nvme0 = { device = "/dev/nvme0n1"; content = { @@ -78,6 +76,7 @@ settings = { keyFile = "/etc/swap.key"; allowDiscards = true; + preLVM = false; }; content = { type = "swap";