Skip to content

Commit

Permalink
desk/ssh: disable password authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
ttrssreal committed Dec 22, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent d31691e commit f0db5eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nixos/desk/system.nix
Original file line number Diff line number Diff line change
@@ -6,7 +6,10 @@
networkmanager.enable = true;
};

services.openssh.enable = true;
services.openssh = {
settings.PasswordAuthentication = false;
enable = true;
};

# Bootloader.
boot = {

0 comments on commit f0db5eb

Please sign in to comment.