summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/dns.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-01-21 11:17:36 +0100
committermakefu <github@syntax-fehler.de>2019-01-21 11:17:36 +0100
commit93f1ce72844bf2bc63cd919c38c3323a6f8f14ef (patch)
tree8c2f5d6da31608387a69fea93355b8f1ecd326ef /krebs/3modules/dns.nix
parent6af865b1e6bba605f11f5d4c6cfb7e92b4f01666 (diff)
parentaf0463b23493d8c31ce725beb8ff5a2fd0398001 (diff)
Merge branch 'master' of http://cgit.ni/stockholm
Diffstat (limited to 'krebs/3modules/dns.nix')
-rw-r--r--krebs/3modules/dns.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/krebs/3modules/dns.nix b/krebs/3modules/dns.nix
new file mode 100644
index 000000000..b7e2a2cbb
--- /dev/null
+++ b/krebs/3modules/dns.nix
@@ -0,0 +1,12 @@
+with import <stockholm/lib>;
+{
+ options = {
+ krebs.dns.providers = mkOption {
+ type = types.attrsOf types.str;
+ };
+
+ krebs.dns.search-domain = mkOption {
+ type = types.hostname;
+ };
+ };
+}