diff options
Diffstat (limited to 'hosts/vidhar')
-rw-r--r-- | hosts/vidhar/default.nix | 11 | ||||
-rw-r--r-- | hosts/vidhar/dsl.nix | 6 | ||||
-rw-r--r-- | hosts/vidhar/zfs.nix | 5 |
3 files changed, 19 insertions, 3 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index 25dcc7db..a8362202 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix | |||
@@ -260,5 +260,16 @@ | |||
260 | 260 | ||
261 | cpuFreqGovernor = "schedutil"; | 261 | cpuFreqGovernor = "schedutil"; |
262 | }; | 262 | }; |
263 | |||
264 | services.unbound = { | ||
265 | enable = true; | ||
266 | resolveLocalQueries = false; | ||
267 | stateDir = "/var/lib/unbound"; | ||
268 | settings = { | ||
269 | server = { | ||
270 | interface = ["0.0.0.0" "::"]; | ||
271 | }; | ||
272 | }; | ||
273 | }; | ||
263 | }; | 274 | }; |
264 | } | 275 | } |
diff --git a/hosts/vidhar/dsl.nix b/hosts/vidhar/dsl.nix index e66f609b..cfbae7b5 100644 --- a/hosts/vidhar/dsl.nix +++ b/hosts/vidhar/dsl.nix | |||
@@ -69,9 +69,9 @@ in { | |||
69 | }; | 69 | }; |
70 | networkConfig = { | 70 | networkConfig = { |
71 | LinkLocalAddressing = "no"; | 71 | LinkLocalAddressing = "no"; |
72 | DNS = [ | 72 | DNS = [ "::1" "127.0.0.1" ]; |
73 | "1.1.1.1" "1.0.0.1" | 73 | DNSSEC = "true"; |
74 | ]; | 74 | Domains = ["~."]; |
75 | }; | 75 | }; |
76 | }; | 76 | }; |
77 | }; | 77 | }; |
diff --git a/hosts/vidhar/zfs.nix b/hosts/vidhar/zfs.nix index c845a480..3b29a093 100644 --- a/hosts/vidhar/zfs.nix +++ b/hosts/vidhar/zfs.nix | |||
@@ -57,6 +57,11 @@ in { | |||
57 | neededForBoot = true; | 57 | neededForBoot = true; |
58 | }; | 58 | }; |
59 | 59 | ||
60 | "/var/lib/unbound" = | ||
61 | { device = "ssd-raid1/local/var-lib-unbound"; | ||
62 | fsType = "zfs"; | ||
63 | }; | ||
64 | |||
60 | "/var/log" = | 65 | "/var/log" = |
61 | { device = "ssd-raid1/local/var-log"; | 66 | { device = "ssd-raid1/local/var-log"; |
62 | fsType = "zfs"; | 67 | fsType = "zfs"; |