summary refs log tree commit diff
path: root/profiles
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-06-25 23:23:20 +0300
committertzlil <tzlils@protonmail.com>2023-06-25 23:23:20 +0300
commit190574abc135a3cbdfe0c188a3f7490d374c2fba (patch)
tree8fc2a30cef2964f9342c6dfe6bc7db7c541225e6 /profiles
parent830d708f96cd7e589b6460e0e18e90966da41ff4 (diff)
a bunch of crap idk but website update
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";