diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-05-29 16:59:01 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-05-29 16:59:01 +0200 |
commit | 9320cbaaef6310b72d74beb1168acfee92456073 (patch) | |
tree | 53aa48e68e23207e9d4f644c033faf4832f853a4 /hosts | |
parent | 88adc84f5386e2177731b0ee4ece3abecb9dec94 (diff) | |
download | nixos-9320cbaaef6310b72d74beb1168acfee92456073.tar nixos-9320cbaaef6310b72d74beb1168acfee92456073.tar.gz nixos-9320cbaaef6310b72d74beb1168acfee92456073.tar.bz2 nixos-9320cbaaef6310b72d74beb1168acfee92456073.tar.xz nixos-9320cbaaef6310b72d74beb1168acfee92456073.zip |
surtr@knot: listen & require mount
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/surtr/dns/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hosts/surtr/dns/default.nix b/hosts/surtr/dns/default.nix index 3fe76dbf..52a498c5 100644 --- a/hosts/surtr/dns/default.nix +++ b/hosts/surtr/dns/default.nix | |||
@@ -6,7 +6,9 @@ | |||
6 | fsType = "zfs"; | 6 | fsType = "zfs"; |
7 | }; | 7 | }; |
8 | 8 | ||
9 | firewall = { | 9 | systemd.services.knot.unitConfig.RequiresMountsFor = [ "var-lib-knot.mount" ]; |
10 | |||
11 | networking.firewall = { | ||
10 | allowedTCPPorts = [ | 12 | allowedTCPPorts = [ |
11 | 53 # DNS | 13 | 53 # DNS |
12 | ]; | 14 | ]; |