fix agenix secrets on ephemeral hosts by setting identityPaths
This commit is contained in:
parent
438d49dc65
commit
480605b47b
1 changed files with 5 additions and 0 deletions
|
|
@ -129,6 +129,11 @@
|
||||||
oldRootRetentionDays = retentionDays;
|
oldRootRetentionDays = retentionDays;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
age.identityPaths = [
|
||||||
|
"${persistentStoragePath}/etc/ssh/ssh_host_ed25519_key"
|
||||||
|
"${persistentStoragePath}/etc/ssh/ssh_host_rsa_key"
|
||||||
|
];
|
||||||
|
|
||||||
fileSystems."/persistent".neededForBoot = true;
|
fileSystems."/persistent".neededForBoot = true;
|
||||||
|
|
||||||
environment.persistence.main = {
|
environment.persistence.main = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue