treewide: persist rework

This commit is contained in:
LavaDesu 2022-08-09 15:17:30 +07:00
parent 2c733de3b3
commit 4b1483327b
Signed by: cilly
GPG key ID: 6500251E087653C9
6 changed files with 12 additions and 11 deletions

View file

@ -43,7 +43,6 @@ in {
neededForBoot = true;
};
"/var/persist" = bind "/persist";
"/var/lib/acme" = bind "/persist/acme";
"/var/log/journal" = bind "/persist/journal";
"/boot" = (bind "/mnt/image/boot") // { depends = [ "/mnt/image" ]; };

View file

@ -22,7 +22,7 @@ in {
neededForBoot = true;
};
"/var/persist" = bind "/nix/persist";
"/persist" = bind "/nix/persist";
"/var/log/journal" = bind "/nix/persist/journal";
"/boot" = bind "/nix/persist/boot";
};