feat: standardise dns to using `services.skynet."${name}";` format

This commit is contained in:
silver 2024-05-30 13:25:52 +01:00
parent 75f0a17fcb
commit 023b491d89
Signed by: silver
GPG key ID: 54E2C71918E93B74
32 changed files with 76 additions and 77 deletions

View file

@ -31,7 +31,7 @@ in {
tags = ["active-firewall"];
};
skynet_dns.records = [
services.skynet.dns.records = [
{
record = name;
r_type = "A";

View file

@ -31,7 +31,7 @@ in {
tags = ["active"];
};
skynet_dns.records = [
services.skynet.dns.records = [
{
record = name;
r_type = "A";

View file

@ -39,7 +39,7 @@ in {
};
# it has two network devices so two
skynet_dns.records = [
services.skynet.dns.records = [
{
record = name;
r_type = "A";

View file

@ -32,7 +32,7 @@ in {
};
# it has two network devices so two
skynet_dns.records = [
services.skynet.dns.records = [
{
record = name;
r_type = "A";

View file

@ -32,7 +32,7 @@ in {
tags = ["active"];
};
skynet_dns.records = [
services.skynet.dns.records = [
{
record = name;
r_type = "A";

View file

@ -33,7 +33,7 @@ in {
};
# add this server to dns
skynet_dns.records = [
services.skynet.dns.records = [
{
record = name;
r_type = "A";

View file

@ -32,7 +32,7 @@ in {
tags = ["active-gitlab"];
};
skynet_dns.records = [
services.skynet.dns.records = [
{
record = name;
r_type = "A";

View file

@ -39,7 +39,7 @@ in {
};
# add this server to dns
skynet_dns.records = [
services.skynet.dns.records = [
{
record = name;
r_type = "A";

View file

@ -49,7 +49,7 @@ in {
sudo_groups = groups;
};
skynet_dns.records = [
services.skynet.dns.records = [
{
record = name;
r_type = "A";

View file

@ -44,7 +44,7 @@ in {
tags = ["active-core"];
};
skynet_dns.records = [
services.skynet.dns.records = [
{
record = name;
r_type = "A";

View file

@ -32,7 +32,7 @@ in {
tags = ["active"];
};
skynet_dns.records = [
services.skynet.dns.records = [
{
record = name;
r_type = "A";

View file

@ -39,7 +39,7 @@ in {
"ip daddr ${ip_pub} udp dport 51820 counter packets 0 bytes 0 accept"
];
skynet_dns.records = {
services.skynet.dns.records = {
external = [
"${name} A ${ip_pub}"
];

View file

@ -35,7 +35,7 @@ in {
tags = ["active-ext"];
};
skynet_dns.records = [
services.skynet.dns.records = [
{
record = name;
r_type = "A";

View file

@ -52,7 +52,7 @@ in {
};
};
skynet_dns = {
services.skynet.dns = {
server = {
enable = true;
# primary dns server (ns1)

View file

@ -36,7 +36,7 @@ in {
};
};
skynet_dns = {
services.skynet.dns = {
server = {
enable = true;
# secondary dns server (ns2)

View file

@ -31,7 +31,7 @@ in {
tags = ["active-gitlab"];
};
skynet_dns.records = [
services.skynet.dns.records = [
{
record = name;
r_type = "A";