diff --git a/common/default.nix b/common/default.nix index dd503b1..81a7423 100644 --- a/common/default.nix +++ b/common/default.nix @@ -8,10 +8,10 @@ ./misc.nix ./nginx.nix ./nix.nix + ./openssh.nix ./packages.nix ./sanoid.nix ./security.nix - ./ssh.nix ./steam.nix ]; -} +} \ No newline at end of file diff --git a/common/ssh.nix b/common/openssh.nix similarity index 85% rename from common/ssh.nix rename to common/openssh.nix index 43f9e30..195277e 100644 --- a/common/ssh.nix +++ b/common/openssh.nix @@ -1,11 +1,11 @@ { config, lib, pkgs, ... }: { - programs.ssh = { + services.openssh = { enable = true; settings = { PasswordAuthentication = false; PermitRootLogin = "no"; }; }; -} +} \ No newline at end of file diff --git a/flake.lock b/flake.lock index 05f0477..f9d3608 100644 --- a/flake.lock +++ b/flake.lock @@ -46,11 +46,11 @@ }, "birdsong": { "locked": { - "lastModified": 1738699106, - "narHash": "sha256-pAe4pHn9OmVWBHdZOMQBO21mHnshOxQOaLu/mKycM6Q=", + "lastModified": 1737470105, + "narHash": "sha256-m5wsHkRDsilv6hVYL4BLWM+Gn8MsQwvxIvhC18FH7Lo=", "ref": "main", - "rev": "007130e869f1223713d588ba0f125c586ca13623", - "revCount": 20, + "rev": "4e461f83a84aba32bdf640163375f1e31b699111", + "revCount": 19, "type": "git", "url": "https://git.qenya.tel/qenya/birdsong" },