This commit is contained in:
m3tam3re 2023-04-13 13:33:07 +02:00
parent 16d36e539d
commit a0a6a1c1d3
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{ config, outputs, ... }: { { config, outputs, ... }: {
virtualisation.oci-containers.containers."wireguard" = { virtualisation.oci-containers.containers."wireguard" = {
image = "docker.io/weejewel/wg-easy"; image = "docker.io/weejewel/wg-easy";
environment = { WG_HOST = "wg.lanakk.com"; WG_DEFAULT_DNS = "10.88.0.1"; }; environment = { WG_HOST = "wg.lanakk.com"; WG_DEFAULT_DNS = "10.88.0.1:5353"; };
ports = [ "3007:51821/tcp" "51820:51820/udp" ]; ports = [ "3007:51821/tcp" "51820:51820/udp" ];
volumes = [ "wireguard_data:/etc/wireguard" ]; volumes = [ "wireguard_data:/etc/wireguard" ];
extraOptions = [ extraOptions = [