Allow DNS for non skynet.ie domains #122

Merged
silver merged 12 commits from #55-non-skynet-dns into main 2024-07-17 19:08:53 +00:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit cb0cfbaf4a - Show all commits

View file

@ -10,7 +10,7 @@ with lib; let
in { in {
imports = [ imports = [
./acme.nix ./acme.nix
./dns.nix ../dns/dns.nix
./nginx.nix ./nginx.nix
]; ];

View file

@ -291,8 +291,8 @@
else "ns2"; else "ns2";
in { in {
imports = [ imports = [
./firewall.nix ../firewall.nix
../config/dns.nix ../../config/dns.nix
]; ];
options.services.skynet."${name}" = { options.services.skynet."${name}" = {
@ -318,7 +318,7 @@ in {
records = lib.mkOption { records = lib.mkOption {
description = "Records, sorted based on therir type"; 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; inherit lib;
})); }));
}; };
@ -357,7 +357,7 @@ in {
# secrets required # secrets required
age.secrets.dns_dnskeys = { age.secrets.dns_dnskeys = {
file = ../secrets/dns_dnskeys.conf.age; file = ../../secrets/dns_dnskeys.conf.age;
owner = "named"; owner = "named";
group = "named"; group = "named";
}; };