Add ssh rules for forgejo user
This commit is contained in:
parent
e5252690a6
commit
d2a86a39ae
2 changed files with 8 additions and 1 deletions
|
@ -73,6 +73,13 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
openssh = {
|
||||
ports = [ 62 ];
|
||||
settings = {
|
||||
AllowUsers = [ "forgejo" ];
|
||||
};
|
||||
};
|
||||
|
||||
renovate = {
|
||||
enable = true;
|
||||
schedule = "1 h";
|
||||
|
|
|
@ -23,6 +23,6 @@
|
|||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 62 80 443 ];
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue