diff --git a/nixos/gorgon/configuration.nix b/nixos/gorgon/configuration.nix index 427fa10..0441cc9 100644 --- a/nixos/gorgon/configuration.nix +++ b/nixos/gorgon/configuration.nix @@ -68,7 +68,7 @@ in networking = { enableBsShare = true; localResolver = { - enable = false; + enable = true; uwu = true; s0 = true; }; @@ -142,10 +142,9 @@ in "127.0.0.2" = [ "kanboard.dadada.li" ]; }; - networking.wg-quick.interfaces.uwupn = { - address = [ "10.11.0.24/32" "fc00:1337:dead:beef::10.11.0.24/128" ]; + networking.wireguard.interfaces.uwupn = { + ips = [ "10.11.0.24/32" "fc00:1337:dead:beef::10.11.0.24/128" ]; privateKeyFile = "/var/lib/wireguard/uwu"; - dns = [ "10.11.0.1" ]; peers = [ { publicKey = "tuoiOWqgHz/lrgTcLjX+xIhvxh9jDH6gmDw2ZMvX5T8="; diff --git a/nixos/modules/networking.nix b/nixos/modules/networking.nix index 4a0df4d..4187cc7 100644 --- a/nixos/modules/networking.nix +++ b/nixos/modules/networking.nix @@ -30,7 +30,7 @@ in }; config = { - #networking.resolvconf.useLocalResolver = mkIf cfg.localResolver.enable true; + networking.resolvconf.useLocalResolver = mkIf cfg.localResolver.enable true; networking.networkmanager.dns = mkIf cfg.localResolver.enable "unbound"; services.unbound = mkIf cfg.localResolver.enable {