fmt: move the dns into its own folder
This commit is contained in:
parent
b1bd6ca40a
commit
cb0cfbaf4a
2 changed files with 5 additions and 5 deletions
|
@ -10,7 +10,7 @@ with lib; let
|
|||
in {
|
||||
imports = [
|
||||
./acme.nix
|
||||
./dns.nix
|
||||
../dns/dns.nix
|
||||
./nginx.nix
|
||||
];
|
||||
|
||||
|
|
|
@ -291,8 +291,8 @@
|
|||
else "ns2";
|
||||
in {
|
||||
imports = [
|
||||
./firewall.nix
|
||||
../config/dns.nix
|
||||
../firewall.nix
|
||||
../../config/dns.nix
|
||||
];
|
||||
|
||||
options.services.skynet."${name}" = {
|
||||
|
@ -318,7 +318,7 @@ in {
|
|||
|
||||
records = lib.mkOption {
|
||||
description = "Records, sorted based on therir type";
|
||||
type = lib.types.listOf (lib.types.submodule (import ./dns/options-records.nix {
|
||||
type = lib.types.listOf (lib.types.submodule (import ./options-records.nix {
|
||||
inherit lib;
|
||||
}));
|
||||
};
|
||||
|
@ -357,7 +357,7 @@ in {
|
|||
|
||||
# secrets required
|
||||
age.secrets.dns_dnskeys = {
|
||||
file = ../secrets/dns_dnskeys.conf.age;
|
||||
file = ../../secrets/dns_dnskeys.conf.age;
|
||||
owner = "named";
|
||||
group = "named";
|
||||
};
|
Loading…
Reference in a new issue