remove redundant openssh
This commit is contained in:
parent
f6bf196be7
commit
16c34ad804
1 changed files with 4 additions and 8 deletions
|
|
@ -49,14 +49,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PermitRootLogin = "yes";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
|
||||
boot = {
|
||||
tmp.cleanOnBoot = true;
|
||||
loader.grub.device = "/dev/sda";
|
||||
|
|
@ -215,6 +207,10 @@
|
|||
|
||||
openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PermitRootLogin = "yes";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
extraConfig = ''
|
||||
Match User gitea
|
||||
AllowAgentForwarding no
|
||||
|
|
|
|||
Loading…
Reference in a new issue