diff options
-rw-r--r-- | hel.nix | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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; |