persistance to user
This commit is contained in:
parent
c1afa65ffe
commit
a369c2adb0
|
@ -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;
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue