From 83e4dd2ea758023d570d1440de1e761b56ee16cf Mon Sep 17 00:00:00 2001 From: James Eversole Date: Thu, 29 Aug 2024 13:17:19 -0500 Subject: [PATCH] Nix flake update; disable password auth in SSH --- flake.lock | 6 +++--- nix/system/security.nix | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index bf862e2..9c9d71a 100644 --- a/flake.lock +++ b/flake.lock @@ -63,11 +63,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1723556749, - "narHash": "sha256-+CHVZnTnIYRLYsARInHYoWkujzcRkLY/gXm3s5bE52o=", + "lastModified": 1724727824, + "narHash": "sha256-0XH9MJk54imJm+RHOLTUJ7e+ponLW00tw5ke4MTVa1Y=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "4a92571f9207810b559c9eac203d1f4d79830073", + "rev": "36bae45077667aff5720e5b3f1a5458f51cf0776", "type": "github" }, "original": { diff --git a/nix/system/security.nix b/nix/system/security.nix index 756c4ae..aff9b64 100644 --- a/nix/system/security.nix +++ b/nix/system/security.nix @@ -1,6 +1,9 @@ { ... }: { services.openssh = { enable = true; + settings = { + PasswordAuthentication = false; + }; }; security = {