tmpfs size in percent
This commit is contained in:
parent
3dd177046d
commit
da7aff32ae
4 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "none";
|
device = "none";
|
||||||
fsType = "tmpfs";
|
fsType = "tmpfs";
|
||||||
options = ["defaults" "size=4G" "mode=755"]; # mode=755 so only root can write to those files
|
options = ["defaults" "size=50%" "mode=755"]; # mode=755 so only root can write to those files
|
||||||
};
|
};
|
||||||
fileSystems."/boot" = {
|
fileSystems."/boot" = {
|
||||||
device = "/dev/disk/by-label/BOOT";
|
device = "/dev/disk/by-label/BOOT";
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "none";
|
device = "none";
|
||||||
fsType = "tmpfs";
|
fsType = "tmpfs";
|
||||||
options = ["defaults" "size=4G" "mode=755"]; # mode=755 so only root can write to those files
|
options = ["defaults" "size=50%" "mode=755"]; # mode=755 so only root can write to those files
|
||||||
};
|
};
|
||||||
fileSystems."/boot" = {
|
fileSystems."/boot" = {
|
||||||
device = "/dev/disk/by-label/BOOT";
|
device = "/dev/disk/by-label/BOOT";
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "none";
|
device = "none";
|
||||||
fsType = "tmpfs";
|
fsType = "tmpfs";
|
||||||
options = ["defaults" "size=4G" "mode=755"]; # mode=755 so only root can write to those files
|
options = ["defaults" "size=50%" "mode=755"]; # mode=755 so only root can write to those files
|
||||||
};
|
};
|
||||||
fileSystems."/boot" = {
|
fileSystems."/boot" = {
|
||||||
device = "/dev/disk/by-label/BOOT";
|
device = "/dev/disk/by-label/BOOT";
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "none";
|
device = "none";
|
||||||
fsType = "tmpfs";
|
fsType = "tmpfs";
|
||||||
options = ["defaults" "size=4G" "mode=755"]; # mode=755 so only root can write to those files
|
options = ["defaults" "size=50%" "mode=755"]; # mode=755 so only root can write to those files
|
||||||
};
|
};
|
||||||
fileSystems."/boot" = {
|
fileSystems."/boot" = {
|
||||||
device = "/dev/disk/by-label/BOOT";
|
device = "/dev/disk/by-label/BOOT";
|
||||||
|
|
Loading…
Reference in a new issue