remove redundant openssh

This commit is contained in:
Ray Andrew 2024-10-11 23:07:50 -05:00
parent f6bf196be7
commit 16c34ad804

View file

@ -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