impermanence
impermanence copied to clipboard
Easy way to disable
When sharing nix modules between different systems, some that have an impermanence setup and others that don't, it would be useful to be able to easily enable/disable persistence without having to conditionally set it up. It would also be more consistent with other NixOS module.
Right now I am doing the following to disable:
{
environment.persistence = lib.mkForce {};
}
But this feels more like a hack.
Hi! You should be able to use the enable
option for this. It was undocumented, but I just added a bit about it in the README.