aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/optional/services/nsd.nix
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-06-15 16:33:27 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-06-15 16:33:27 -0700
commit5ad570331bf04b7b92a7b3a22cefb42f3c60cf77 (patch)
tree7b46826af467a2c1e8202ca928d4ddb0fb212847 /hosts/common/optional/services/nsd.nix
parentf913eb2c44feae49e8081e36654c1ab4dbeb2524 (diff)
downloadnix-5ad570331bf04b7b92a7b3a22cefb42f3c60cf77.tar
nix-5ad570331bf04b7b92a7b3a22cefb42f3c60cf77.tar.gz
nix-5ad570331bf04b7b92a7b3a22cefb42f3c60cf77.tar.bz2
nix-5ad570331bf04b7b92a7b3a22cefb42f3c60cf77.tar.lz
nix-5ad570331bf04b7b92a7b3a22cefb42f3c60cf77.tar.xz
nix-5ad570331bf04b7b92a7b3a22cefb42f3c60cf77.tar.zst
nix-5ad570331bf04b7b92a7b3a22cefb42f3c60cf77.zip
Add NSD to darkstar
Diffstat (limited to 'hosts/common/optional/services/nsd.nix')
-rw-r--r--hosts/common/optional/services/nsd.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/hosts/common/optional/services/nsd.nix b/hosts/common/optional/services/nsd.nix
new file mode 100644
index 0000000..7f95d5a
--- /dev/null
+++ b/hosts/common/optional/services/nsd.nix
@@ -0,0 +1,13 @@
+{
+ services.nsd = {
+ enable = true;
+ zones = {
+ "bitgnome.com.".data = builtins.readFile ./nsd/bitgnome.com.zone;
+ "bitgnome.net.".data = builtins.readFile ./nsd/bitgnome.net.zone;
+ "blaspheme.net.".data = builtins.readFile ./nsd/blaspheme.net.zone;
+ "dwmachfab.com.".data = builtins.readFile ./nsd/dwmachfab.com.zone;
+ "lindseyholcomb.org.".data = builtins.readFile ./nsd/lindseyholcomb.org.zone;
+ "timetrad.com.".data = builtins.readFile ./nsd/timetrad.com.zone;
+ };
+ };
+}