about summary refs log tree commit diff stats
path: root/sys/disks/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-02-10 19:30:52 +0100
committerSoispha <soispha@vhack.eu>2024-02-10 19:30:52 +0100
commit5c35f00802fc40605d216759b2791c098413b6f0 (patch)
tree857b9cb87535251f34b11c03037c593f9dbd2d00 /sys/disks/default.nix
parentchore(hm/soispha/conf/taskwarrior/projects): Update (diff)
downloadnixos-config-5c35f00802fc40605d216759b2791c098413b6f0.tar.gz
nixos-config-5c35f00802fc40605d216759b2791c098413b6f0.zip
fix(sys/disks): Differentiate the space limit of '/' an '/tmp'
Diffstat (limited to '')
-rw-r--r--sys/disks/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/disks/default.nix b/sys/disks/default.nix
index d238d89a..2d88f57e 100644
--- a/sys/disks/default.nix
+++ b/sys/disks/default.nix
@@ -96,7 +96,11 @@ in {
       nodev = {
         "/" = {
           fsType = "tmpfs";
-          mountOptions = ["defaults" "size=8G" "mode=755"];
+          mountOptions = ["defaults" "size=4G" "mode=755"];
+        };
+        "/tmp" = {
+          fsType = "tmpfs";
+          mountOptions = ["defaults" "size=16G" "mode=755"];
         };
       };
     };