Nix flake update; disable password auth in SSH

This commit is contained in:
James Eversole 2024-08-29 13:17:19 -05:00
parent 06c4c7bc13
commit 83e4dd2ea7
2 changed files with 6 additions and 3 deletions

6
flake.lock generated
View File

@ -63,11 +63,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1723556749, "lastModified": 1724727824,
"narHash": "sha256-+CHVZnTnIYRLYsARInHYoWkujzcRkLY/gXm3s5bE52o=", "narHash": "sha256-0XH9MJk54imJm+RHOLTUJ7e+ponLW00tw5ke4MTVa1Y=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4a92571f9207810b559c9eac203d1f4d79830073", "rev": "36bae45077667aff5720e5b3f1a5458f51cf0776",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -1,6 +1,9 @@
{ ... }: { { ... }: {
services.openssh = { services.openssh = {
enable = true; enable = true;
settings = {
PasswordAuthentication = false;
};
}; };
security = { security = {