nix-config icon indicating copy to clipboard operation
nix-config copied to clipboard

Redundant directory creation in ephemeral-btrfs.nix

Open breezeight opened this issue 1 year ago • 0 comments

I was looking at the ephemeral-btrfs module. I see you ensure needed directories exists: https://github.com/Misterio77/nix-config/blob/ec4bd4983695521e8d1016093f3d092ffbe5ca6e/hosts/common/optional/ephemeral-btrfs.nix#L13-L14

But as far I understand the impermanence module included in optin-persistence.nix should https://github.com/Misterio77/nix-config/blob/ec4bd4983695521e8d1016093f3d092ffbe5ca6e/hosts/common/global/optin-persistence.nix#L11-L20

Does it make sense to ephemeral-btrfs.nix removing the above lines?

breezeight avatar Jan 05 '24 10:01 breezeight