feat(nixos): move persist options to system and users modules
This commit is contained in:
parent
6d43b0db3b
commit
8c2b1dfc6e
3 changed files with 4 additions and 6 deletions
|
@ -18,18 +18,12 @@ in
|
|||
fi
|
||||
'';
|
||||
persistFiles = [
|
||||
#TODO: move to system config
|
||||
"/etc/machine-id"
|
||||
#TODO: move to ssh config
|
||||
"/etc/ssh/ssh_host_ed25519_key"
|
||||
"/etc/ssh/ssh_host_ed25519_key.pub"
|
||||
"/etc/ssh/ssh_host_rsa_key"
|
||||
"/etc/ssh/ssh_host_rsa_key.pub"
|
||||
];
|
||||
persistDirs = [
|
||||
"/var/lib/systemd"
|
||||
"/var/lib/nixos"
|
||||
];
|
||||
})
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue