summaryrefslogtreecommitdiff
path: root/Biz/Dev/Configuration.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-08-10 13:11:25 -0400
committerBen Sima <ben@bsima.me>2022-08-10 13:11:25 -0400
commit0eaddb77135fd763772532c1a572cfad22b23a7f (patch)
treea408b061ca88327a8d07197d547411faf56efdf9 /Biz/Dev/Configuration.nix
parenta60a5264673038eee6709573e7ef5ddb70196b6a (diff)
Add dnsmasq for .home network
Diffstat (limited to 'Biz/Dev/Configuration.nix')
-rw-r--r--Biz/Dev/Configuration.nix12
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;