diff options
author | Ben Sima <ben@bsima.me> | 2022-08-10 13:11:25 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2022-08-10 13:11:25 -0400 |
commit | 0eaddb77135fd763772532c1a572cfad22b23a7f (patch) | |
tree | a408b061ca88327a8d07197d547411faf56efdf9 | |
parent | a60a5264673038eee6709573e7ef5ddb70196b6a (diff) |
Add dnsmasq for .home network
-rw-r--r-- | Biz/Dev/Configuration.nix | 12 |
1 files changed, 12 insertions, 0 deletions
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; |