mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-24 02:11:29 +01:00
feat: add size limit for root tmpfs
This commit is contained in:
@@ -100,6 +100,7 @@ in
|
||||
# set mode to 755, otherwise systemd will set it to 777, which cause problems.
|
||||
# relatime: Update inode access times relative to modify or change time.
|
||||
options = [
|
||||
"size=4G"
|
||||
"relatime"
|
||||
"mode=755"
|
||||
];
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
nodev."/" = {
|
||||
fsType = "tmpfs";
|
||||
mountOptions = [
|
||||
"size=4G"
|
||||
"relatime" # Update inode access times relative to modify/change time
|
||||
"mode=755"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user