-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
I was looking at the ephemeral-btrfs module. I see you ensure needed directories exists:
nix-config/hosts/common/optional/ephemeral-btrfs.nix
Lines 13 to 14 in ec4bd49
| echo "Creating needed directories" | |
| mkdir -p "$MNTPOINT"/persist/var/{log,lib/{nixos,systemd}} |
But as far I understand the impermanence module included in optin-persistence.nix should
nix-config/hosts/common/global/optin-persistence.nix
Lines 11 to 20 in ec4bd49
| environment.persistence = { | |
| "/persist" = { | |
| directories = [ | |
| "/var/lib/systemd" | |
| "/var/lib/nixos" | |
| "/var/log" | |
| "/srv" | |
| ]; | |
| }; | |
| }; |
Does it make sense to ephemeral-btrfs.nix removing the above lines?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels