setup /tmp
This commit is contained in:
parent
c7fb0d7546
commit
9ebb6123e3
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
|||
{ ... }: {
|
||||
boot.tmpOnTmpfs = true;
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "tmpfs";
|
||||
|
@ -19,6 +18,12 @@
|
|||
options = [ "subvol=/@persist" "compress-force=zstd" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
"/tmp" = {
|
||||
device = "/dev/vg0/system";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=/@tmp" "compress-force=zstd" "nosuid" "nodev" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
"/mnt/system" = {
|
||||
device = "/dev/vg0/system";
|
||||
fsType = "btrfs";
|
||||
|
|
Loading…
Reference in a new issue