forked from mirrors_public/oddlama_nix-config
fix(impermanence): give agenix early access to ssh keys
This commit is contained in:
parent
e2e2c2a757
commit
f55c83c1b8
1 changed files with 3 additions and 4 deletions
|
@ -4,15 +4,14 @@
|
|||
#environment.persistence."/nix/state" = {
|
||||
# hideMounts = true;
|
||||
# files = [
|
||||
# "/etc/machine-id"
|
||||
# "/etc/ssh/ssh_host_ed25519_key"
|
||||
# "/etc/ssh/ssh_host_ed25519_key.pub"
|
||||
# ];
|
||||
# directories = [
|
||||
# "/var/log"
|
||||
# ];
|
||||
#};
|
||||
|
||||
# Give agenix access to the hostkey independent of impermanence activation
|
||||
age.identityPaths = ["/persist/etc/ssh/ssh_host_ed25519_key"];
|
||||
|
||||
# State that should be kept forever, and backed up accordingly.
|
||||
environment.persistence."/persist" = {
|
||||
hideMounts = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue