yuki: remove neko and forgejo runners

This commit is contained in:
notohh 2023-10-20 01:30:40 -04:00
parent 506cb0e107
commit 680d51bf58
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 0 additions and 80 deletions

View file

@ -6,7 +6,6 @@
./homarr.nix ./homarr.nix
./dashdot.nix ./dashdot.nix
./jellyfin.nix ./jellyfin.nix
./forgejo-runners.nix
./minecraft.nix ./minecraft.nix
]; ];
} }

View file

@ -1,57 +0,0 @@
{
pkgs,
config,
...
}: {
sops.secrets.forgejo-runner-token = {};
sops.secrets.basegbot-runner-token = {};
services.gitea-actions-runner = {
package = pkgs.forgejo-actions-runner;
instances.snowflake = {
settings = {
container = {
network = "host";
};
};
enable = true;
name = config.networking.hostName;
token = config.sops.secrets.forgejo-runner-token.path;
url = "https://git.flake.sh";
labels = [
"debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye"
#"native:host"
];
hostPackages = with pkgs; [
bash
curl
coreutils
wget
gitMinimal
];
};
instances.basegbot = {
settings = {
container = {
network = "host";
};
};
enable = true;
name = config.networking.hostName;
token = config.sops.secrets.basegbot-runner-token.path;
url = "https://git.flake.sh";
labels = [
"debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye"
#"native:host"
];
hostPackages = with pkgs; [
bash
curl
coreutils
wget
gitMinimal
];
};
};
}

View file

@ -1,22 +0,0 @@
_: {
networking.firewall.allowedTCPPorts = [8080];
networking.firewall.allowedUDPPorts = [52000 52100];
virtualisation.oci-containers.containers.neko = {
image = "m1k1o/neko:firefox";
ports = [
"8080:8080"
"52000-52100:52000-52100/udp"
];
environment = {
NEKO_SCREEN = "1920x1080@60";
NEKO_PASSWORD = "forsen";
NEKO_EPR = "52000-52100";
NEKO_NAT1TO1 = "100.110.140.130";
NEKO_BIND = "0.0.0.0:8080";
NEKO_CONTROL_PROTECTION = "true";
NEKO_VIDEO_CODEC = "h264";
NEKO_ICELITE = "true";
NEKO_ICESERVER = "stun:stun.l.google.com:19302";
};
};
}