summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-03-20 12:35:20 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2023-03-20 12:35:20 +0100
commit28eaa88ec5f4152feff1d07dc45908e9831c2bf6 (patch)
tree1f02b909db9232aa21654a27e5d09a6ccae50c68
parentc12c26730f5be240844684cfeff6b9e8b1c7348b (diff)
downloadnixos-28eaa88ec5f4152feff1d07dc45908e9831c2bf6.tar
nixos-28eaa88ec5f4152feff1d07dc45908e9831c2bf6.tar.gz
nixos-28eaa88ec5f4152feff1d07dc45908e9831c2bf6.tar.bz2
nixos-28eaa88ec5f4152feff1d07dc45908e9831c2bf6.tar.xz
nixos-28eaa88ec5f4152feff1d07dc45908e9831c2bf6.zip
...
-rw-r--r--system-profiles/openssh/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/system-profiles/openssh/default.nix b/system-profiles/openssh/default.nix
index 0e88ffb7..3e17e96c 100644
--- a/system-profiles/openssh/default.nix
+++ b/system-profiles/openssh/default.nix
@@ -77,7 +77,7 @@ in {
77 moduliFile = mkIf (config.sops.secrets ? "ssh_moduli") "/run/credentials/sshd.service/ssh_moduli"; 77 moduliFile = mkIf (config.sops.secrets ? "ssh_moduli") "/run/credentials/sshd.service/ssh_moduli";
78 extraConfig = optionalString cfg.staticHostKeys '' 78 extraConfig = optionalString cfg.staticHostKeys ''
79 HostKey /run/credentials/sshd.service/ssh_host_ed25519_key 79 HostKey /run/credentials/sshd.service/ssh_host_ed25519_key
80 HostCertificate ${./known-hosts + "/${hostName}/ed25519.pub"} 80 HostCertificate ${./known-hosts + "/${hostName}/ed25519-cert.pub"}
81 HostKey /run/credentials/sshd.service/ssh_host_rsa_key 81 HostKey /run/credentials/sshd.service/ssh_host_rsa_key
82 HostCertificate ${./known-hosts + "/${hostName}/rsa-cert.pub"} 82 HostCertificate ${./known-hosts + "/${hostName}/rsa-cert.pub"}
83 ''; 83 '';