aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/sol/filesystems/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/hosts/sol/filesystems/default.nix b/hosts/sol/filesystems/default.nix
index e31b2e3..c6174bd 100644
--- a/hosts/sol/filesystems/default.nix
+++ b/hosts/sol/filesystems/default.nix
@@ -1,4 +1,8 @@
{
+ lib,
+ ...
+}:
+{
fileSystems."/" = {
device = "/dev/disk/by-uuid/5ac7df5a-5908-4b6a-b982-88c34775205a";
fsType = "ext4";
@@ -13,5 +17,7 @@
];
};
- swapDevices = [ ];
+ swapDevices = lib.singleton {
+ device = "/.swapfile";
+ };
}