diff --git a/system/services/wireguard.nix b/system/services/wireguard.nix deleted file mode 100644 index 84d7a400..00000000 --- a/system/services/wireguard.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - virtualisation.oci-containers.containers.wireguard = { - image = "linuxserver/wireguard:latest"; - autoStart = true; - - login = { - # Uses DockerHub by default - # registry = ""; - - # DockerHub Credentials - username = "christoph.urlacher@protonmail.com"; - passwordFile = "${config.sops.secrets.docker-password.path}"; - }; - - dependsOn = []; - - ports = [ - "51820:51820" - ]; - - volumes = [ - "wireguard_vps_config:/config" - "wireguard_vps_modules:/lib/modules" - ]; - - environment = { - PUID = "1000"; - PGID = "1000"; - TZ = "Europe/Berlin"; - }; - - extraOptions = [ - "--cap-add=NET_ADMIN" - "--cap-add=SYS_MODULE" - # "--net=behind-nginx" - ]; - }; -} diff --git a/system/thinknix/default.nix b/system/thinknix/default.nix index 9ff4bd7e..b8b57129 100644 --- a/system/thinknix/default.nix +++ b/system/thinknix/default.nix @@ -21,7 +21,6 @@ ../services/nginx-proxy-manager.nix ../services/portainer.nix ../services/whats-up-docker.nix - # ../services/wireguard.nix ]; modules = {