persistance to user

This commit is contained in:
Sam 2024-05-23 16:57:41 +01:00
parent c1afa65ffe
commit a369c2adb0
2 changed files with 16 additions and 12 deletions

View File

@ -20,6 +20,22 @@ in
};
environment.persistence."/persist" = {
hideMounts = true;
users.media= {
directories = [
"sync"
"keep"
".ssh"
".config/dconf"
".config/cinnamon"
".config/nemo"
];
files = [
];
};
};
sops.secrets."passwords/media" = {
sopsFile = "${secretsFile}";
neededForUsers = true;

View File

@ -50,18 +50,6 @@ in
"/etc/ssh/ssh_host_ed25519_key"
"/etc/ssh/ssh_host_ed25519_key.pub"
];
users.media= {
directories = [
"sync"
"keep"
".ssh"
".config/dconf"
".config/cinnamon"
".config/nemo"
];
files = [
];
};
};
users = {