diff options
Diffstat (limited to 'hosts/sagittarius')
| -rw-r--r-- | hosts/sagittarius/default.nix | 7 | ||||
| -rw-r--r-- | hosts/sagittarius/web/git.nix | 30 |
2 files changed, 22 insertions, 15 deletions
diff --git a/hosts/sagittarius/default.nix b/hosts/sagittarius/default.nix index 1dbc2ee..e4f1270 100644 --- a/hosts/sagittarius/default.nix +++ b/hosts/sagittarius/default.nix @@ -51,6 +51,13 @@ }; }; + virtualisation.podman = { + enable = true; + autoPrune.enable = true; + dockerCompat = true; + dockerSocket.enable = true; + }; + # Set the max amout of space used for logs services.journald.extraConfig = '' SystemMaxUse=100M diff --git a/hosts/sagittarius/web/git.nix b/hosts/sagittarius/web/git.nix index e66f149..7029f40 100644 --- a/hosts/sagittarius/web/git.nix +++ b/hosts/sagittarius/web/git.nix @@ -44,20 +44,20 @@ in }; }; - # services.gitea-actions-runner = { - # package = pkgs.forgejo-actions-runner; - # instances.default = { - # enable = true; - # name = "monolith"; - # url = "https://git.sorre.xyz"; - # tokenFile = config.sops.secrets."forgejo-runner-token".path; + services.gitea-actions-runner = { + package = pkgs.forgejo-actions-runner; + instances.default = { + enable = true; + name = "monolith"; + url = "https://git.sorre.xyz"; + tokenFile = config.sops.secrets."forgejo-runner-token".path; - # labels = [ - # "ubuntu-latest:docker://node:16-bullseye" - # "ubuntu-22.04:docker://node:16-bullseye" - # "ubuntu-20.04:docker://node:16-bullseye" - # "ubuntu-18.04:docker://node:16-buster" - # ]; - # }; - # }; + labels = [ + "ubuntu-latest:docker://node:16-bullseye" + "ubuntu-22.04:docker://node:16-bullseye" + "ubuntu-20.04:docker://node:16-bullseye" + "ubuntu-18.04:docker://node:16-buster" + ]; + }; + }; } |
