diff --git a/services/thelounge.nix b/services/thelounge.nix index 677e398..f71beeb 100644 --- a/services/thelounge.nix +++ b/services/thelounge.nix @@ -23,7 +23,6 @@ in address = "192.168.100.1"; interface = "eth0"; }; - networking.nameservers = [ "1.1.1.1" "1.0.0.1" ]; services.thelounge = { enable = true; @@ -40,7 +39,7 @@ in tls = true; # yes, please do actually check the cert … rejectUnauthorized = true; - nick = "Guest%%%%"; + nick = "haccGuest%%%%"; join = "#hacc-webchat"; }; lockNetwork = true; @@ -66,6 +65,15 @@ in # override the package we use systemd.services.thelounge.serviceConfig.ExecStart = pkgs.lib.mkForce "${thelounge}/bin/thelounge start"; + + services.coredns = { + enable = true; + config = '' + .:53 { + forward . 1.1.1.1 + } + ''; + }; })).config.system.build.toplevel; };