diff options
| author | Baitinq <[email protected]> | 2025-08-21 23:38:32 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-08-21 23:38:32 +0200 |
| commit | 22d9c5de2e7f29c5c41e7c2efc94c6400c7c859b (patch) | |
| tree | ac2c849d1dd92c241822e5dd06909cedc79c92b1 | |
| parent | Hardware: PC: Set high refresh rate automatically (diff) | |
| download | nixos-config-22d9c5de2e7f29c5c41e7c2efc94c6400c7c859b.tar.gz nixos-config-22d9c5de2e7f29c5c41e7c2efc94c6400c7c859b.tar.bz2 nixos-config-22d9c5de2e7f29c5c41e7c2efc94c6400c7c859b.zip | |
Hardware: PC: Add swapfile
Diffstat (limited to '')
| -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; |