diff --git a/hosts/temperance/filesystem/default.nix b/hosts/temperance/filesystem/default.nix index 7b24ad7..4e62318 100644 --- a/hosts/temperance/filesystem/default.nix +++ b/hosts/temperance/filesystem/default.nix @@ -1,6 +1,6 @@ { config = { - boot.initrd.luks.devices."cryptroot".device = "/dev/disk-by-uuid/"; + boot.initrd.luks.devices."cryptroot".device = "/dev/disk-by-uuid/"; fileSystems = { "/boot" = { device = ""; @@ -28,6 +28,12 @@ fsType = "btrfs"; options = ["subvol=home" "compress=zstd" "noatime"]; }; + "/swap" = { + device = ""; + fsType = "btrfs"; + + options = ["subvol=swap" "compress=lzo" "noatime"]; + }; }; swapDevices = [ {device = "";}