Agenix: Difference between revisions

Pigs (talk | contribs)
m Choose a Public/Private Key: link to ssh pages
Dbrgn (talk | contribs)
Fix comment
Tags: Mobile edit Mobile web edit Visual edit
Line 161: Line 161:
       imports = [ agenix.nixosModules.default ]; # import agenix-module into the nixos-container
       imports = [ agenix.nixosModules.default ]; # import agenix-module into the nixos-container


       age.identityPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; # isn't set automatically for some reason
       age.identityPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; # needed when OpenSSH is not set up in container


       # import the secret
       # import the secret