mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
nixos/tmp: add tmpOnTmpfsSize
This commit is contained in:
parent
6b369a4de7
commit
f45e8d560e
2 changed files with 16 additions and 3 deletions
|
@ -686,7 +686,7 @@ in
|
|||
fsType = "tmpfs";
|
||||
neededForBoot = true;
|
||||
# Sync with systemd's tmp.mount;
|
||||
options = [ "mode=1777" "strictatime" "nosuid" "nodev" ];
|
||||
options = [ "mode=1777" "strictatime" "nosuid" "nodev" "size=${toString config.boot.tmpOnTmpfsSize}" ];
|
||||
};
|
||||
"/tmp/xchg" =
|
||||
{ device = "xchg";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue