From 67d6d5fc053e1e428d81eb3bfb6f0c86189053d0 Mon Sep 17 00:00:00 2001 From: Thilo Billerbeck Date: Fri, 22 Dec 2023 01:21:42 +0100 Subject: [PATCH] skinner add gitea ci and enable nm --- machines/skinner/configuration.nix | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/machines/skinner/configuration.nix b/machines/skinner/configuration.nix index de4539c..b673ad8 100644 --- a/machines/skinner/configuration.nix +++ b/machines/skinner/configuration.nix @@ -28,6 +28,7 @@ in networking = { hostName = "skinner"; firewall = { allowedTCPPorts = [ 22 80 443 5001 8080 9001 ]; }; + networkmanager.enable = true; }; virtualisation = { @@ -47,7 +48,6 @@ in }; }; - services = { nginx = { enable = true; @@ -74,6 +74,25 @@ in }; }; }; + gitea-actions-runner = { + package = pkgs.forgejo-actions-runner; + instances.skinner-secretary = { + settings = { + container = { + network = "host"; + }; + }; + enable = true; + name = config.networking.hostName; + token = ""; + url = "https://git.thilo-billerbeck.com"; + labels = [ + "native:host" + "debian-latest:docker://node:18-bullseye" + "ubuntu-latest:docker://node:18-bullseye" + ]; + }; + }; prometheus = { enable = true; port = 9001;