Use OpenSSH config from CCCHH nix-infra repo
This commit is contained in:
parent
578abdf26e
commit
3708003da6
2 changed files with 44 additions and 11 deletions
|
@ -1,8 +1,9 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./prometheus-node-exporter.nix
|
||||
./nginx.nix
|
||||
./openssh.nix
|
||||
../users/colmena-deploy
|
||||
../users/yuri
|
||||
];
|
||||
|
@ -36,16 +37,6 @@
|
|||
tcpdump
|
||||
];
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
PermitRootLogin = lib.mkForce "no";
|
||||
};
|
||||
};
|
||||
|
||||
security.acme = {
|
||||
defaults.email = "acme@grzb.de";
|
||||
acceptTerms = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue