diff --git a/hosts/yuki/services/default.nix b/hosts/yuki/services/default.nix index c0db63b..9451cea 100644 --- a/hosts/yuki/services/default.nix +++ b/hosts/yuki/services/default.nix @@ -6,7 +6,6 @@ ./homarr.nix ./dashdot.nix ./jellyfin.nix - ./forgejo-runners.nix ./minecraft.nix ]; } diff --git a/hosts/yuki/services/forgejo-runners.nix b/hosts/yuki/services/forgejo-runners.nix deleted file mode 100644 index 099f484..0000000 --- a/hosts/yuki/services/forgejo-runners.nix +++ /dev/null @@ -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 - ]; - }; - }; -} diff --git a/hosts/yuki/services/neko.nix b/hosts/yuki/services/neko.nix deleted file mode 100644 index 9ba1a73..0000000 --- a/hosts/yuki/services/neko.nix +++ /dev/null @@ -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"; - }; - }; -}