summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-07-09 17:45:51 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2019-07-09 17:45:51 +0200
commit0ea630b6fa235812575d83a3b6ca7aeae73f2afd (patch)
tree503d0a3cea65daeb8efc9c9c15a1584128c67261
parent0d500bb830483d0636415a48abb8085b724843c4 (diff)
downloadnixos-0ea630b6fa235812575d83a3b6ca7aeae73f2afd.tar
nixos-0ea630b6fa235812575d83a3b6ca7aeae73f2afd.tar.gz
nixos-0ea630b6fa235812575d83a3b6ca7aeae73f2afd.tar.bz2
nixos-0ea630b6fa235812575d83a3b6ca7aeae73f2afd.tar.xz
nixos-0ea630b6fa235812575d83a3b6ca7aeae73f2afd.zip
...
-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;