reworking

This commit is contained in:
2025-08-18 18:27:26 -05:00
parent fc7866349e
commit 04a831de7e
45 changed files with 384 additions and 1074 deletions

View File

@@ -23,7 +23,6 @@
networking.firewall.allowedTCPPorts = [
22
2222
];
containers.gitea = {

View File

@@ -7,12 +7,11 @@
};
};
config = lib.mkIf config.sysconfig.services.openssh.enable {
config = lib.mkIf (config.sysconfig.services.openssh.enable || config.sysconfig.remoteBuildHost) {
networking.firewall.allowedTCPPorts = [ 22 ];
services.openssh = {
enable = true;
openFirewall = true;
settings = {
PermitRootLogin = lib.mkForce "no";
PasswordAuthentication = false;