diff options
Diffstat (limited to '')
| -rw-r--r-- | modules/by-name/di/disks/module.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/by-name/di/disks/module.nix b/modules/by-name/di/disks/module.nix index d5746ecf..a1515bcb 100644 --- a/modules/by-name/di/disks/module.nix +++ b/modules/by-name/di/disks/module.nix @@ -17,7 +17,8 @@ # FIXME: The iso redeploy requires a bigger efi partition <2024-05-12> cfg = config.soispha.disks; defaultMountOptions = [ - "compress-force=zstd:15" # This saves disk space, at a performance cost + "space_cache" # Use some disk space for cache + "compress=zstd:3" # This saves disk space, at a performance cost "noatime" # should have some performance upsides, and I don't use it anyways "lazytime" # make time changes in memory ]; @@ -86,7 +87,10 @@ in { }; "swap" = { mountpoint = "/swap"; - mountOptions = defaultMountOptions; + mountOptions = [ + "noatime" # should have some performance upsides, and I don't use it anyways + "lazytime" # make time changes in memory + ]; }; }; }; @@ -115,12 +119,12 @@ in { fsType = "tmpfs"; mountOptions = ["defaults" "size=50%" "mode=0755"]; }; - "/nix/var/nix/builds" = { + "/nix/var/nix/b" = { fsType = "tmpfs"; mountOptions = [ "defaults" "noswap" # Otherwise, we might run into io-based slowdowns - "size=75%" + "size=80%" "mode=0755" ]; }; |
