diff options
| -rw-r--r-- | hardware/pc/disks.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hardware/pc/disks.nix b/hardware/pc/disks.nix index 5e9487b..7a864b9 100644 --- a/hardware/pc/disks.nix +++ b/hardware/pc/disks.nix @@ -120,7 +120,10 @@ in { options = ["compress-force=zstd"]; }; - swapDevices = []; + swapDevices = [{ + device = "/nix/swapfile"; + size = 16*1024; + }]; services.btrfs.autoScrub.enable = true; |