1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
_: { systemd.mounts = [ { type = "tmpfs"; what = "tmpfs"; where = "/tmp"; mountConfig.Options = [ "huge=within_size" "mode=1777" "noatime" "nodev" "nosuid" "rw" "size=25%" ]; } ]; }
Consider giving Nix/NixOS a try! <3