Skip to content

Commit

Permalink
skinner add gitea ci and enable nm
Browse files Browse the repository at this point in the history
  • Loading branch information
thilobillerbeck committed Dec 22, 2023
1 parent 0557725 commit 67d6d5f
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion machines/skinner/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ in
networking = {
hostName = "skinner";
firewall = { allowedTCPPorts = [ 22 80 443 5001 8080 9001 ]; };
networkmanager.enable = true;
};

virtualisation = {
Expand All @@ -47,7 +48,6 @@ in
};
};


services = {
nginx = {
enable = true;
Expand All @@ -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;
Expand Down

0 comments on commit 67d6d5f

Please sign in to comment.