From 73f8be22ffee8f5ad6080070089cdb03786498d9 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 4 Jan 2025 21:37:04 +0400 Subject: [PATCH] docker --- modules/server/services/forgejo/woodpecker.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/modules/server/services/forgejo/woodpecker.nix b/modules/server/services/forgejo/woodpecker.nix index a047d5e2..9f2b40ba 100644 --- a/modules/server/services/forgejo/woodpecker.nix +++ b/modules/server/services/forgejo/woodpecker.nix @@ -16,13 +16,14 @@ in { }; # LOL get it, a man is in a pod LMAO XDDDDD ROFL - virtualisation.podman = { - enable = true; - defaultNetwork.settings = { - # dns_enabled = true; - dns = "127.0.0.1"; - }; - }; + # virtualisation.podman = { + # enable = true; + # defaultNetwork.settings = { + # # dns_enabled = true; + # dns = "127.0.0.1"; + # }; + # }; + virtualisation.docker.enable = true; # # This is needed for podman to be able to talk over dns # networking.firewall.interfaces."podman0" = { @@ -54,7 +55,7 @@ in { environment = { WOODPECKER_SERVER = "localhost:9000"; WOODPECKER_MAX_WORKFLOWS = "1"; - DOCKER_HOST = "unix:///run/podman/podman.sock"; + # DOCKER_HOST = "unix:///run/podman/podman.sock"; WOODPECKER_BACKEND = "docker"; WOODPECKER_HEALTHCHECK_ADDR = ":3001"; };