Try this
This commit is contained in:
13
modules/services.nix
Normal file
13
modules/services.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PermitRootLogin = "prohibit-password";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
|
||||
services.tailscale.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user