summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/dns.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-01-21 10:32:15 +0100
committertv <tv@krebsco.de>2019-01-21 10:33:23 +0100
commitda79d23ebbc0c3fb7c579b366f29fb3744948706 (patch)
tree5f1e25928385b7588e37ad4525e4d14391818190 /krebs/3modules/dns.nix
parent9082adf6878b5f917efc633cba63932d94942d13 (diff)
krebs: move dns stuff to dedicated file
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;
+ };
+ };
+}