mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-07 13:29:22 +02:00
Some dns changes
This commit is contained in:
parent
20855e7add
commit
ce3c582063
5 changed files with 64 additions and 3 deletions
|
@ -2,7 +2,12 @@
|
|||
|
||||
with lib;
|
||||
#with lib.internal;
|
||||
let cfg = config.custom.system.dns;
|
||||
let
|
||||
cfg = config.custom.system.dns;
|
||||
zones = {
|
||||
"geek" = import ./geek.nix pkgs;
|
||||
"glue" = import ./glue.nix pkgs;
|
||||
};
|
||||
in
|
||||
{
|
||||
options.custom.system.dns = with types; {
|
||||
|
@ -17,12 +22,12 @@ in
|
|||
"geek" = {
|
||||
master = false;
|
||||
masters = [ "202.83.95.229" ];
|
||||
file = "/etc/bind/zones/slaves/geek.zone";
|
||||
file = "${pkgs.openic-dns-root-data}/geek.zone";
|
||||
};
|
||||
"glue" = {
|
||||
master = false;
|
||||
masters = [ "195.201.99.61" "168.119.153.26" ];
|
||||
file = "/etc/bind/zones/slaves/glue.zone";
|
||||
file = "${pkgs.openic-dns-root-data}/glue.zone";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue