summary refs log tree commit diff stats
path: root/system/services
diff options
context:
space:
mode:
Diffstat (limited to 'system/services')
-rw-r--r--system/services/openssh/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/system/services/openssh/default.nix b/system/services/openssh/default.nix
index 8b28cbd..46b7ffd 100644
--- a/system/services/openssh/default.nix
+++ b/system/services/openssh/default.nix
@@ -4,7 +4,11 @@
     settings.PasswordAuthentication = false;
     hostKeys = [
       {
-        path = "/var/lib/sshd/ssh_host_ed25519_key";
+        # See the explanation for this in /system/impermanence/mods/openssh.nix
+        # path = "/var/lib/sshd/ssh_host_ed25519_key";
+
+        # FIXME: Remove this workaround
+        path = "/srv/var/lib/sshd/ssh_host_ed25519_key";
         rounds = 1000;
         type = "ed25519";
       }