aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2024-10-25 17:07:42 +0200
committerMiran Bastaja <miran.bastaja04@gmail.com>2024-10-25 17:09:03 +0200
commited25fd12e551fe020b4732a0d99c90927c72cbab (patch)
treef719e336fa1ebc38546ae7b541384b550463a7ea /hosts
parent4872584818c8574cdbfbe7f96d9d3bcf7ba46643 (diff)
sagittarius: re-enable forgejo runner
Diffstat (limited to 'hosts')
-rw-r--r--hosts/sagittarius/default.nix7
-rw-r--r--hosts/sagittarius/web/git.nix30
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"
+ ];
+ };
+ };
}