This commit is contained in:
commit
30ce0dafc2
195 changed files with 8902 additions and 0 deletions
25
services/bind/options.nix
Normal file
25
services/bind/options.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
dns,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
{
|
||||
options.machine.bind = {
|
||||
enable = mkEnableOption "Bind Server";
|
||||
domain = mkOption {
|
||||
type = types.str;
|
||||
description = "Domain name";
|
||||
};
|
||||
port = mkOption {
|
||||
type = types.port;
|
||||
default = 53;
|
||||
description = "Port to listen on.";
|
||||
};
|
||||
zones = mkOption {
|
||||
type = types.attrsOf dns.lib.types.zone;
|
||||
default = { };
|
||||
description = "DNS zones";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue