feat: first nameserver set up

This commit is contained in:
silver 2023-01-18 02:06:08 +00:00
parent f3a3768f92
commit 8db9529449
4 changed files with 34 additions and 9 deletions

View file

@ -19,6 +19,7 @@ in {
imports = [
# applications for this particular server
../applications/firewall.nix
../applications/dns.nix
];
deployment = {
@ -27,6 +28,13 @@ in {
targetUser = "root";
};
skynet_dns.records = {
external = [
"agentjones A ${ip_pub}"
];
cname = [];
};
# this has to be defined for any physical servers
# vms are defined by teh vm host
networking.interfaces = {