diff options
Diffstat (limited to '')
-rw-r--r-- | system/sshd.nix (renamed from programs/ssh/default.nix) | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/programs/ssh/default.nix b/system/sshd.nix index b6ecb1d..0e0f1a2 100644 --- a/programs/ssh/default.nix +++ b/system/sshd.nix @@ -1,16 +1,4 @@ -{ - config, - lib, - ... -}: { - # ssh config - home-manager.users.${config.user} = { - programs.ssh = { - enable = true; - extraConfig = lib.fileContents ./config; - }; - }; - +{config, ...}: { # sshd services.openssh = { enable = true; @@ -39,7 +27,7 @@ # add authorized keys users.users.${config.user} = { openssh.authorizedKeys.keyFiles = [ - ../../files/keys/ssh.pub + ../files/keys/ssh.pub ]; }; } |