summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hel.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/hel.nix b/hel.nix
index 04be2fe3..eff19194 100644
--- a/hel.nix
+++ b/hel.nix
@@ -143,10 +143,21 @@
143 enableOnBoot = false; 143 enableOnBoot = false;
144 }; 144 };
145 145
146 systemd.services."unbound" = {
147 path = with pkgs; [ unbound ];
148
149 preStart = ''
150 unbound-control-setup -d /var/lib/unbound
151 '';
152 };
153
146 services = { 154 services = {
147 unbound = { 155 unbound = {
148 enable = true; 156 enable = true;
149 extraConfig = " control-enable: yes"; 157 extraConfig = ''
158 remote-control:
159 control-enable: yes
160 '';
150 }; 161 };
151 162
152 fprintd.enable = true; 163 fprintd.enable = true;