From 0eaddb77135fd763772532c1a572cfad22b23a7f Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 10 Aug 2022 13:11:25 -0400 Subject: Add dnsmasq for .home network --- Biz/Dev/Configuration.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Biz') diff --git a/Biz/Dev/Configuration.nix b/Biz/Dev/Configuration.nix index 114aee8..3560952 100644 --- a/Biz/Dev/Configuration.nix +++ b/Biz/Dev/Configuration.nix @@ -96,6 +96,18 @@ in { services.deluge.openFilesLimit = 10240; services.deluge.web.enable = true; + services.dnsmasq.enable = true; + services.dnsmasq.servers = [ "8.8.8.8" ]; + services.dnsmasq.resolveLocalQueries = true; + services.dnsmasq.extraConfig = '' + local=/home/ + cache-size=5000 + ''; + networking.extraHosts = '' + 192.168.0.1 router.home + 192.168.0.196 lithium.home + ''; + services.printing.enable = true; services.murmur.enable = true; -- cgit v1.2.3