feat(Infini-SERVER): move persist to overlayfs
This commit is contained in:
parent
1c20f6ad0f
commit
43e046e007
1 changed files with 8 additions and 7 deletions
|
@ -47,20 +47,21 @@ in
|
|||
neededForBoot = true;
|
||||
};
|
||||
|
||||
"/persist" = {
|
||||
device = main;
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=root" "ssd" ] ++ btrfsOptions;
|
||||
neededForBoot = true;
|
||||
};
|
||||
# "/persist" = {
|
||||
# device = main;
|
||||
# fsType = "btrfs";
|
||||
# options = [ "subvol=root" "ssd" ] ++ btrfsOptions;
|
||||
# neededForBoot = true;
|
||||
# };
|
||||
|
||||
"/persist-test" = {
|
||||
"/persist" = {
|
||||
device = "overlay";
|
||||
fsType = "overlay";
|
||||
options = [
|
||||
"upperdir=/media/main/root"
|
||||
"lowerdir=/media/data/root"
|
||||
"workdir=/media/main/work"
|
||||
"redirect_dir=on"
|
||||
];
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue