summary refs log tree commit diff
path: root/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'profiles')
-rw-r--r--profiles/ssh.nix6
-rw-r--r--profiles/user.nix2
2 files changed, 4 insertions, 4 deletions
diff --git a/profiles/ssh.nix b/profiles/ssh.nix
index a3628ec..294f015 100644
--- a/profiles/ssh.nix
+++ b/profiles/ssh.nix
@@ -22,9 +22,9 @@
         AllowUsers tzlil git
       '';
       settings = {
-        permitRootLogin = "no";
-        passwordAuthentication = false;
-        kbdInteractiveAuthentication = false;
+        PermitRootLogin = "no";
+        PasswordAuthentication = false;
+        KbdInteractiveAuthentication = false;
       };
     };
     environment.persistence."/nix/persist" = {
diff --git a/profiles/user.nix b/profiles/user.nix
index 73c4fcb..7355e85 100644
--- a/profiles/user.nix
+++ b/profiles/user.nix
@@ -57,7 +57,7 @@
       in {
         Unit = {
           Description = "SSH Agent";
-          WantedBy = ["default.target"];
+          After = ["default.target"];
         };
         Service = {
           ExecStartPre = "${pkgs.coreutils}/bin/rm -f %t/ssh-agent";