fix: impermanence auto enabled
This commit is contained in:
parent
6ae872a683
commit
588798471e
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,8 @@ in
|
|||
{
|
||||
options.my.profiles.impermanence.enable = mkEnableOption "impermanence";
|
||||
|
||||
imports = [{ environment.persistence."/persist".enable = cfg.enable; }];
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
age.secrets = {
|
||||
root-password.file = ../../secrets/root-password.age;
|
||||
|
@ -18,7 +20,6 @@ in
|
|||
};
|
||||
users.mutableUsers = false;
|
||||
environment.persistence."/persist" = {
|
||||
enable = cfg.enable;
|
||||
hideMounts = true;
|
||||
directories = [
|
||||
"/etc/NetworkManager/system-connections"
|
||||
|
|
Loading…
Reference in a new issue