mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 00:55:58 +08:00
fix warnings
This commit is contained in:
parent
d045f88df5
commit
3ff3724286
2 changed files with 2 additions and 4 deletions
|
|
@ -11,8 +11,8 @@
|
|||
services = {
|
||||
openssh = {
|
||||
enable = true;
|
||||
permitRootLogin = "prohibit-password"; # distributed-build.nix requires it
|
||||
passwordAuthentication = false;
|
||||
settings.PermitRootLogin = "prohibit-password"; # distributed-build.nix requires it
|
||||
settings.PasswordAuthentication = false;
|
||||
allowSFTP = false;
|
||||
};
|
||||
fail2ban = {
|
||||
|
|
|
|||
|
|
@ -107,9 +107,7 @@
|
|||
nil
|
||||
];
|
||||
|
||||
services.openssh.permitRootLogin = "prohibit-password";
|
||||
services.openssh.enable = true;
|
||||
services.tailscale.enable = true;
|
||||
|
||||
services.nginx.enable = true;
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue