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 = {
|
fileSystems = {
|
||||||
"/" = {
|
"/" = {
|
||||||
device = "tmpfs";
|
device = "tmpfs";
|
||||||
|
@ -19,6 +18,12 @@
|
||||||
options = [ "subvol=/@persist" "compress-force=zstd" ];
|
options = [ "subvol=/@persist" "compress-force=zstd" ];
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
};
|
};
|
||||||
|
"/tmp" = {
|
||||||
|
device = "/dev/vg0/system";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=/@tmp" "compress-force=zstd" "nosuid" "nodev" ];
|
||||||
|
neededForBoot = true;
|
||||||
|
};
|
||||||
"/mnt/system" = {
|
"/mnt/system" = {
|
||||||
device = "/dev/vg0/system";
|
device = "/dev/vg0/system";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
|
|
Loading…
Reference in a new issue