diff --git a/hosts/titan/configuration.nix b/hosts/titan/configuration.nix index 243db6e..f263aee 100644 --- a/hosts/titan/configuration.nix +++ b/hosts/titan/configuration.nix @@ -13,6 +13,7 @@ in { ./hardware/hardware-configuration.nix ./cachix.nix ( import ./hardware/nvidia.nix inputs ) + ( import ./services/dnsmasq.nix inputs ) inputs.nix-but-gigachad.nixosModules.default ]; nh = { diff --git a/hosts/titan/services/dnsmasq.nix b/hosts/titan/services/dnsmasq.nix new file mode 100644 index 0000000..8e0969f --- /dev/null +++ b/hosts/titan/services/dnsmasq.nix @@ -0,0 +1,19 @@ +inputs: { config, pkgs, ... }: { + services.dnsmasq = { + enable = true; + settings = { + server = [ + "9.9.9.9" + "8.8.8.8" + ]; + listen-address = [ + "192.168.100.35" + ]; + resolv-file = '' + ${pkgs.writeText "$out/resolv.conf" '' + 5.12.179.165 gra.phite.ro + ''} + ''; + }; + }; +} diff --git a/users/ultra/home.nix b/users/ultra/home.nix index 2f3858f..e7ead6f 100644 --- a/users/ultra/home.nix +++ b/users/ultra/home.nix @@ -183,6 +183,7 @@ in { blender vesktop ktailctl + caddy ]; };