dns
This commit is contained in:
parent
16d36e539d
commit
a0a6a1c1d3
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in New Issue