Flake is now modular and supports forgejo and forgejo-ci-runner #1
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
{pkgs, lib, config}:
|
{pkgs, lib, config, ...}:
|
||||||
with lib with builtins; {
|
with lib; with builtins; {
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.server = {
|
settings.server = {
|
||||||
|
@ -38,4 +38,4 @@ with lib with builtins; {
|
||||||
AuthorizedKeysFile ${config.users.users.forgejo.home}/.ssh/authorized_keys
|
AuthorizedKeysFile ${config.users.users.forgejo.home}/.ssh/authorized_keys
|
||||||
'';
|
'';
|
||||||
networking.firewall.allowedTCPPorts = [48540];
|
networking.firewall.allowedTCPPorts = [48540];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue