Merge branch 'master' of ssh://git.fudo.org:2222/fudo-nix/entities

This commit is contained in:
niten 2023-06-06 10:08:01 -07:00
commit 54c5e27a11
18 changed files with 147 additions and 28 deletions

View File

@ -24,9 +24,10 @@
postgresql-server = "nutboy3"; postgresql-server = "nutboy3";
log-aggregator = "nutboy3"; log-aggregator = "nutboy3";
chat-server = "legatus"; chat-server = "legatus";
backplane = { # backplane = {
nameserver = "legatus"; # nameserver = "legatus";
dns-service = "nutboy3"; # dns-service = "nutboy3";
domain = "fudo.link"; # domain = "fudo.link";
}; # };
nexus.domains = [ "fudo.link" ];
} }

View File

@ -21,4 +21,5 @@
dns-service = "nutboy3"; dns-service = "nutboy3";
domain = "fudo.link"; domain = "fudo.link";
}; };
nexus.domains = [ "fudo.link" ];
} }

View File

@ -8,10 +8,16 @@
admin-email = "niten@fudo.org"; admin-email = "niten@fudo.org";
zone = "sea.fudo.org"; zone = "sea.fudo.org";
gssapi-realm = "SEA.FUDO.ORG";
ldap-servers = [ "nutboy3" "legatus" ]; ldap-servers = [ "nutboy3" "legatus" ];
<<<<<<< HEAD
postgresql-server = "nostromo"; postgresql-server = "nostromo";
=======
kerberos-master = "nostromo";
# kerberos-slaves = [ "lambda" ];
>>>>>>> 45f0457328e0bdf5dbc6c103af0d703d46d9a2b2
prometheus-hosts = [ "limina" ]; prometheus-hosts = [ "limina" ];
grafana-hosts = [ "nostromo" ]; grafana-hosts = [ "nostromo" ];
@ -20,4 +26,5 @@
dns-service = "nutboy3"; dns-service = "nutboy3";
domain = "fudo.link"; domain = "fudo.link";
}; };
nexus.domains = [ "fudo.link" ];
} }

View File

@ -1,10 +1,10 @@
{ helper-lib, ... }: { helper-lib, ... }:
let let import-by-basename = helper-lib.fs.import-by-basename;
import-by-basename = helper-lib.fs.import-by-basename;
in { in {
domains = import-by-basename ./domains; domains = import-by-basename ./domains;
hosts = import-by-basename ./hosts; hosts = import-by-basename ./hosts;
nexus.domains = import-by-basename ./nexus;
sites = import-by-basename ./sites; sites = import-by-basename ./sites;
zones = import-by-basename ./zones; zones = import-by-basename ./zones;
} }

View File

@ -1,19 +1,19 @@
{ {
description = "Fudo Entities"; description = "Fudo Entities";
inputs = { inputs = { fudo-lib.url = "git+https://git.fudo.org/fudo-nix/lib.git"; };
fudo-lib.url = "git+https://git.fudo.org/fudo-nix/lib.git";
};
outputs = { self, nixpkgs, fudo-lib, ... }: { outputs = { self, nixpkgs, fudo-lib, ... }: {
nixosModule = { nixosModule = { imports = [ ./module.nix ]; };
imports = [
./module.nix entities = let helper-lib = fudo-lib.lib { pkgs = nixpkgs; };
]; in import ./entities.nix { inherit helper-lib; };
lib = import ./lib.nix {
inherit (nixpkgs) lib;
inherit (self) entities;
}; };
entities = let overlays.default = (final: prev: { lib = prev.lib // self.lib; });
helper-lib = fudo-lib.lib { pkgs = nixpkgs; };
in import ./entities.nix { inherit helper-lib; };
}; };
} }

17
hosts/jazz.nix Normal file
View File

@ -0,0 +1,17 @@
{
description = "Jasper's gaming desktop.";
rp = "niten";
admin-email = "niten@fudo.org";
enable-gui = true;
profile = "desktop";
domain = "sea.fudo.org";
site = "seattle";
arch = "x86_64-linux";
nixos-system = true;
machine-id = "2f6c424858f5401098f79cee215e3268";
master-key = {
public-key =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPw2lRIAf7aC5bPO1AALAx9FPEFNJr1Qn5rxB1ahmX8p";
key-path = "/state/master-key/key";
};
}

17
hosts/toothless.nix Normal file
View File

@ -0,0 +1,17 @@
{
description = "sea.fudo.org compute server.";
rp = "niten";
admin-email = "niten@fudo.org";
enable-gui = false;
profile = "server";
domain = "sea.fudo.org";
site = "seattle";
arch = "x86_64-linux";
nixos-system = true;
machine-id = "39ebe622cf40413b950d832105e0bb2e";
master-key = {
public-key =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIQrT/X6qvurQ6GJ450PZaKLyolOVWqMXjRozLq9Gy/O";
key-path = "/state/master-key/key";
};
}

View File

@ -14,4 +14,5 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGb+mT3UyDIKow36CVQJlJCyJqJfmReWFWAS2ZVpaB6p"; "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGb+mT3UyDIKow36CVQJlJCyJqJfmReWFWAS2ZVpaB6p";
key-path = "/state/master-key/key"; key-path = "/state/master-key/key";
}; };
hardened = true;
} }

37
lib.nix Normal file
View File

@ -0,0 +1,37 @@
{ lib, entities, ... }:
with lib;
let
getHostSite = hostname:
let site-name = entities.hosts."${hostname}".site;
in entities.sites."${site-name}";
getHostDomain = hostname:
let domain-name = entities.hosts."${hostname}".domain;
in entities.domains."${domain-name}";
getHostRealm = hostname: (getHostDomain hostname).gssapi-realm;
getHostFqdn = hostname:
let hostDomain = entities.hosts."${hostname}".domain;
in "${hostname}.${hostDomain}";
getHostNetworkSettings = hostname:
let
hostDomain = entities.hosts."${hostname}".domain;
hostNetwork = entities.zones."${hostDomain}";
in hostNetwork.hosts."${hostname}";
getIfAttr = as: a: if hasAttr as a then getAttr as a else null;
getHostIpv4 = hostname:
getIfAttr "ipv4-address" (getHostNetworkSettings hostname);
getHostIpv6 = hostname:
getIfAttr "ipv6-address" (getHostNetworkSettings hostname);
getHostIps = hostname:
filter (o: o != null) [ (getHostIpv4 hostname) (getHostIpv6 hostname) ];
getDomainPostgresqlServer = domain:
getHostFqdn entities.domains."${domain}".postgresql-server;
in {
inherit getHostSite getHostDomain getHostRealm getHostFqdn getHostIpv4
getHostIpv6 getHostIps getDomainPostgresqlServer;
}

5
nexus/fudo.link.nix Normal file
View File

@ -0,0 +1,5 @@
{
servers = [ "nutboy3" "legatus" ];
dns-servers = [ "legatus" ];
gssapi-realm = "FUDO.ORG";
}

View File

@ -6,6 +6,8 @@
deploy-pubkeys = [ deploy-pubkeys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCZ62rYnn1pMY5pgOak4I0Go9VJmiYuK1GOMhVDf94glowiiMx1qzieyNhgBXGXb9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Bz+uP7BHbLgFpeUx18zLy7t"
]; ];
mail-server = "mail.informis.land"; mail-server = "mail.informis.land";
nexus.domains = [ "fudo.link" ];
} }

View File

@ -7,6 +7,8 @@
deploy-pubkeys = [ deploy-pubkeys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCZ62rYnn1pMY5pgOak4I0Go9VJmiYuK1GOMhVDf94glowiiMx1qzieyNhgBXGXb9Eo7c2TchiGNnQJM8OHPmMwBSUdEJ9+BZLKlY6LMzZlWanr7V9WWZb7hGK42woZiSZBBvzrRJ+Skeo2/6/ZOB6PnUAbl9Z0X3IWvTK8da6GWZlNUfDaTqpeu/9+YvqJpb/xJCr7/LC6Y3yjnKrchhmz1MguN4XOOhhLwcpuhyBIUSnU24RScGAgXBAdJL2IrE6yDmRwmNIVaEPlp/sV5UG8M74r/pBDI+VKsKFOzr3xeEQYMU8+As4ufLEqLW7n1IP2frIXCV+jkErqNONDAhD5+B9mdoTjifF57B48Re7+o/3W/1dXV6qWhEj6vgTinsKLr/QBLkXVggjZUeXZ4wkStEh/ab0K4QnHEfg8F+PHyCBKXyNqCib4GCa7pxvUYXgokZGRMCVRXf4o0UsK7PeAjYRgB79LLKFt4X2xyJLhMhxsTHTfIQRHMAUpfavzo+0=" "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCZ62rYnn1pMY5pgOak4I0Go9VJmiYuK1GOMhVDf94glowiiMx1qzieyNhgBXGXb9Eo7c2TchiGNnQJM8OHPmMwBSUdEJ9+BZLKlY6LMzZlWanr7V9WWZb7hGK42woZiSZBBvzrRJ+Skeo2/6/ZOB6PnUAbl9Z0X3IWvTK8da6GWZlNUfDaTqpeu/9+YvqJpb/xJCr7/LC6Y3yjnKrchhmz1MguN4XOOhhLwcpuhyBIUSnU24RScGAgXBAdJL2IrE6yDmRwmNIVaEPlp/sV5UG8M74r/pBDI+VKsKFOzr3xeEQYMU8+As4ufLEqLW7n1IP2frIXCV+jkErqNONDAhD5+B9mdoTjif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UftOZcSZgR5C/vR71cENXoPt1YQpCzu7i38ojtvL+tDVEKT7sIovrQw8q1sszNlW2nXh8RSPiIq5TMnrV73MP0egKcr9n3tfxwi1BIkLjvfom/02BkTK9R9v+VMNhYU1YwROhORCiMIgoxUGiUvtH8u38JGr7E0hhMoAjCE5k80WPUivl0="
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILkbTj6x4GmbqcAhs01wBBz+uP7BHbLgFpeUx18zLy7t"
]; ];
mail-server = "mail.fudo.org"; mail-server = "mail.fudo.org";
nexus.domains = [ "fudo.link" ];
} }

View File

@ -7,6 +7,8 @@
deploy-pubkeys = [ deploy-pubkeys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCZ62rYnn1pMY5pgOak4I0Go9VJmiYuK1GOMhVDf94glowiiMx1qzieyNhgBXGXb9Eo7c2TchiGNnQJM8OHPmMwBSUdEJ9+BZLKlY6LMzZlWanr7V9WWZb7hGK42woZiSZBBvzrRJ+Skeo2/6/ZOB6PnUAbl9Z0X3IWvTK8da6GWZlNUfDaTqpeu/9+YvqJpb/xJCr7/LC6Y3yjnKrchhmz1MguN4XOOhhLwcpuhyBIUSnU24RScGAgXBAdJL2IrE6yDmRwmNIVaEPlp/sV5UG8M74r/pBDI+VKsKFOzr3xeEQYMU8+As4ufLEqLW7n1IP2frIXCV+jkErqNONDAhD5+B9mdoTjifF57B48Re7+o/3W/1dXV6qWhEj6vgTinsKLr/QBLkXVggjZUeXZ4wkStEh/ab0K4QnHEfg8F+PHyCBKXyNqCib4GCa7pxvUYXgokZGRMCVRXf4o0UsK7PeAjYRgB79LLKFt4X2xyJLhMhxsTHTfIQRHMAUpfavzo+0=" "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCZ62rYnn1pMY5pgOak4I0Go9VJmiYuK1GOMhVDf94glowiiMx1qzieyNhgBXGXb9Eo7c2TchiGNnQJM8OHPmMwBSUdEJ9+BZLKlY6LMzZlWanr7V9WWZb7hGK42wo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muof7zPFy0J+Hj+LVLDQI/mVXHNwkMhBMHpPrdwA05EYDAYCYklWT4cSByu10pHtST+olF8i+A+UQgUzgNZzdJVeiYZv6MBDTYsJWptGeDUkl2B0Es3gtbGYcCCfnyS3RC7DIXlDo3NBbAr7WaHY2MBbT+R/+jicn9E3IY3NCM5jENxqmvHy9MDsxEEYgFNm7IDwq4V1VRUWy277YsvRbmEaHb+osOA5u1VNN4z3UftOZcSZgR5C/vR71cENXoPt1YQpCzu7i38ojtvL+tDVEKT7sIovrQw8q1sszNlW2nXh8RSPiIq5TMnrV73MP0egKcr9n3tfxwi1BIkLjvfom/02BkTK9R9v+VMNhYU1YwROhORCiMIgoxUGiUvtH8u38JGr7E0hhMoAjCE5k80WPUivl0="
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILkbTj6x4GmbqcAhs01wBBz+uP7BHbLgFpeUx18zLy7t"
]; ];
mail-server = "mail.fudo.org"; mail-server = "mail.fudo.org";
nexus.domains = [ "fudo.link" ];
} }

View File

@ -6,8 +6,10 @@
deploy-pubkeys = [ deploy-pubkeys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCZ62rYnn1pMY5pgOak4I0Go9VJmiYuK1GOMhVDf94glowiiMx1qzieyNhgBXGXb9Eo7c2TchiGNnQJM8OHPmMwBSUdEJ9+BZLKlY6LMzZlWanr7V9WWZb7hGK42woZiSZBBvzrRJ+Skeo2/6/ZOB6PnUAbl9Z0X3IWvTK8da6GWZlNUfDaTqpeu/9+YvqJpb/xJCr7/LC6Y3yjnKrchhmz1MguN4XOOhhLwcpuhyBIUSnU24RScGAgXBAdJL2IrE6yDmRwmNIVaEPlp/sV5UG8M74r/pBDI+VKsKFOzr3xeEQYMU8+As4ufLEqLW7n1IP2frIXCV+jkErqNONDAhD5+B9mdoTjifF57B48Re7+o/3W/1dXV6qWhEj6vgTinsKLr/QBLkXVggjZUeXZ4wkStEh/ab0K4QnHEfg8F+PHyCBKXyNqCib4GCa7pxv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P0egKcr9n3tfxwi1BIkLjvfom/02BkTK9R9v+VMNhYU1YwROhORCiMIgoxUGiUvtH8u38JGr7E0hhMoAjCE5k80WPUivl0=" "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDGVez4of30f+j0cWKj5kYCKeFjyNsYvG9UbOMxF5hImD2lP5MSbFBv31gFgHjx3yCG4zQRZlpuyU5uWo0qIwe9N84/LcZcB9WrWKZXDmuof7zPFy0J+Hj+LVLDQI/mVXHNwkMhBMHpPrdwA05EYDAYCYklWT4cSByu10pHtST+olF8i+A+UQgUzgNZzdJVeiYZv6MBDTYsJWptGeDUkl2B0Es3gtbGYcCCfnyS3RC7DIXlDo3NBbAr7WaHY2MBbT+R/+jicn9E3IY3NCM5jENxqmvHy9MDsxEEYgFNm7IDwq4V1VRUWy277YsvRbmEaHb+osOA5u1VNN4z3UftOZcSZgR5C/vR71cENXoPt1YQpCzu7i38ojtvL+tDVEKT7sIovrQw8q1sszNlW2nXh8RSPiIq5TMnrV73MP0egKcr9n3tfxwi1BIkLjvfom/02BkTK9R9v+VMNhYU1YwROhORCiMIgoxUGiUvtH8u38JGr7E0hhMoAjCE5k80WPUivl0="
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILkbTj6x4GmbqcAhs01wBBz+uP7BHbLgFpeUx18zLy7t"
]; ];
enable-distributed-builds = false; enable-distributed-builds = false;
mail-server = "mail.fudo.org"; mail-server = "mail.fudo.org";
local-gateway = "limina"; local-gateway = "limina";
nexus.domains = [ "fudo.link" ];
} }

View File

@ -7,6 +7,8 @@
deploy-pubkeys = [ deploy-pubkeys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCZ62rYnn1pMY5pgOak4I0Go9VJmiYuK1GOMhVDf94glowiiMx1qzieyNhgBXGXb9Eo7c2TchiGNnQJM8OHPmMwBSUdEJ9+BZLKlY6LMzZlWanr7V9WWZb7hGK42woZiSZBBvzrRJ+Skeo2/6/ZOB6PnUAbl9Z0X3IWv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hBMHpPrdwA05EYDAYCYklWT4cSByu10pHtST+olF8i+A+UQgUzgNZzdJVeiYZv6MBDTYsJWptGeDUkl2B0Es3gtbGYcCCfnyS3RC7DIXlDo3NBbAr7WaHY2MBbT+R/+jicn9E3IY3NCM5jENxqmvHy9MDsxEEYgFNm7IDwq4V1VRUWy277YsvRbmEaHb+osOA5u1VNN4z3UftOZcSZgR5C/vR71cENXoPt1YQpCzu7i38ojtvL+tDVEKT7sIovrQw8q1sszNlW2nXh8RSPiIq5TMnrV73MP0egKcr9n3tfxwi1BIkLjvfom/02BkTK9R9v+VMNhYU1YwROhORCiMIgoxUGiUvtH8u38JGr7E0hhMoAjCE5k80WPUivl0=" "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDGVez4of30f+j0cWKj5kYCKeFjyNsYvG9UbOMxF5hImD2lP5MSbFBv31gFgHjx3yCG4zQRZlpuyU5uWo0qIwe9N84/LcZcB9WrWKZXDmuof7zPFy0J+Hj+LVLDQI/mVXHNwkMhBMHpPrdwA05EYDAYCYklWT4cSByu10pHtST+olF8i+A+UQgUzgNZzdJVeiYZv6MBDTYsJWptGeDUkl2B0Es3gtbGYcCCfnyS3RC7DIXlDo3NBbAr7WaHY2MBbT+R/+jicn9E3IY3NCM5jENxqmvHy9MDsxEEYgFNm7IDwq4V1VRUWy277YsvRbmEaHb+osOA5u1VNN4z3UftOZcSZgR5C/vR71cENXoPt1YQpCzu7i38ojtvL+tDVEKT7sIovrQw8q1sszNlW2nXh8RSPiIq5TMnrV73MP0egKcr9n3tfxwi1BIkLjvfom/02BkTK9R9v+VMNhYU1YwROhORCiMIgoxUGiUvtH8u38JGr7E0hhMoAjCE5k80WPUivl0="
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILkbTj6x4GmbqcAhs01wBBz+uP7BHbLgFpeUx18zLy7t"
]; ];
mail-server = "mail.fudo.org"; mail-server = "mail.fudo.org";
nexus.domains = [ "fudo.link" ];
} }

View File

@ -128,10 +128,13 @@
usashi.ipv4-address = "209.177.109.150"; usashi.ipv4-address = "209.177.109.150";
}; };
verbatim-dns-records = [ verbatim-dns-records = [''
'' mail._domainkey IN TXT ( "v=DKIM1; k=rsa; "
mail._domainkey IN TXT ( "v=DKIM1; k=rsa; "\n"p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuwulTvtxhB2UD1aWmey"\n"B63gZyhU2wWl8zhkQYePOpOMY0l2Qew6Dw+neYNTaEUBRtbeoVHhVwI28/kH8HqRte9mQGyQR4JphW7sr4osuD603cdzJMpptYbr2XPRkOxDmY9iBBSNgXjp103TQL8HA/7HlLGUsPWYDxjh94Mbb/KzGfBiVLBc3vUIVXZdnlLJa/xzIZAT1NXnT3hRHyt7on+6x+uIQ2FOTvyQvTfAASwJa012LzqxlZXykGE7WnHkNFDeyCiSepr4LroW9"\n"+Dt+AYKWDu1gvF75jy6enewHse06doJoRkvFq+h1ZIymkFfRacYTK43X2ZOXTMLEOrf5lQIDAQAB" ) ; ----- DKIM key mail for fudo.org'' "p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuwulTvtxhB2UD1aWmeyB63gZyhU2wWl8zhkQYePOpOMY0l2"
]; "Qew6Dw+neYNTaEUBRtbeoVHhVwI28/kH8HqRte9mQGyQR4JphW7sr4osuD603cdzJMpptYbr2XPRkOxDmY9iBBSNgXjp1"
"03TQL8HA/7HlLGUsPWYDxjh94Mbb/KzGfBiVLBc3vUIVXZdnlLJa/xzIZAT1NXnT3hRHyt7on+6x+uIQ2FOTvyQvTfAAS"
"wJa012LzqxlZXykGE7WnHkNFDeyCiSepr4LroW9+Dt+AYKWDu1gvF75jy6enewHse06doJoRkvFq+h1ZIymkFfRacYTK4"
"3X2ZOXTMLEOrf5lQIDAQAB" ) ; ----- DKIM key mail for fudo.org''];
subdomains = { subdomains = {
test = { test = {

View File

@ -1,9 +1,11 @@
let local-domain = "sea.fudo.org"; let local-domain = "sea.fudo.org";
in { in {
aliases = { aliases = {
chat = "nostromo";
deploy = "socrates"; deploy = "socrates";
#dns-hole = "limina"; #dns-hole = "limina";
#gateway = "limina"; #gateway = "limina";
factorio = "toothless";
#hole = "limina"; #hole = "limina";
home = "lambda"; home = "lambda";
home-assist = "wormhole0"; home-assist = "wormhole0";
@ -11,6 +13,8 @@ in {
# kadmin = "nostromo"; # kadmin = "nostromo";
# kdc = "nostromo"; # kdc = "nostromo";
minecraft = "nostromo"; minecraft = "nostromo";
survival = "toothless";
creative = "nostromo";
music = "doraemon"; music = "doraemon";
#panopticon = "lambda"; #panopticon = "lambda";
#panopticon-od = "lambda"; #panopticon-od = "lambda";
@ -77,6 +81,10 @@ in {
ipv4-address = "10.0.0.7"; ipv4-address = "10.0.0.7";
mac-address = "7C:D9:5C:9F:6F:E9"; mac-address = "7C:D9:5C:9F:6F:E9";
}; };
cam-switch = {
ipv4-address = "10.0.0.8";
mac-address = "94:18:65:7F:9E:18";
};
nostromo = { nostromo = {
ipv4-address = "10.0.0.10"; ipv4-address = "10.0.0.10";
mac-address = "02:14:25:55:ee:5a"; mac-address = "02:14:25:55:ee:5a";
@ -85,6 +93,10 @@ in {
ipv4-address = "10.0.0.11"; ipv4-address = "10.0.0.11";
mac-address = "02:f5:fe:8c:22:fe"; mac-address = "02:f5:fe:8c:22:fe";
}; };
toothless = {
ipv4-address = "10.0.0.12";
mac-address = "02:ee:76:17:99:ed";
};
socrates = { socrates = {
ipv4-address = "10.0.0.20"; ipv4-address = "10.0.0.20";
mac-address = "02:f2:30:b8:71:42"; mac-address = "02:f2:30:b8:71:42";
@ -95,15 +107,15 @@ in {
cam-entrance = { cam-entrance = {
ipv4-address = "10.0.0.31"; ipv4-address = "10.0.0.31";
mac-address = "9c:8e:cd:0e:99:7b"; mac-address = "9C:8E:CD:3B:A0:F1";
}; };
cam-driveway = { cam-driveway = {
ipv4-address = "10.0.0.32"; ipv4-address = "10.0.0.32";
mac-address = "9c:8e:cd:0d:3b:09"; mac-address = "9C:8E:CD:3B:A1:70";
}; };
cam-deck = { cam-steps = {
ipv4-address = "10.0.0.33"; ipv4-address = "10.0.0.33";
mac-address = "9c:8e:cd:0e:98:c8"; mac-address = "9C:8E:CD:3B:A0:70";
}; };
cam-patio = { cam-patio = {
ipv4-address = "10.0.0.34"; ipv4-address = "10.0.0.34";
@ -161,6 +173,10 @@ in {
ipv4-address = "10.0.0.111"; ipv4-address = "10.0.0.111";
mac-address = "02:0d:df:2d:46:90"; mac-address = "02:0d:df:2d:46:90";
}; };
jazz = {
ipv4-address = "10.0.0.112";
mac-address = "02:57:9a:a4:10:d3";
};
ubiquiti-wifi = { ubiquiti-wifi = {
ipv4-address = "10.0.0.126"; ipv4-address = "10.0.0.126";
mac-address = "04:18:d6:20:48:fb"; mac-address = "04:18:d6:20:48:fb";

View File

@ -9,9 +9,13 @@
webmail = "webmail.fudo.org."; webmail = "webmail.fudo.org.";
}; };
verbatim-dns-records = [ verbatim-dns-records = [''
''mail._domainkey IN TXT ( "v=DKIM1; k=rsa; "\n"p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA68IHVXbgnu0rqAvsM3mKT9WmlvYM22COWh5Fzl"\n"FOUguZ3nWCrcZGt8l5G004tDjCwgdCz4e0eUq3VqtPIcGfMd56jK61XAqN7wz"\n"RXTjEjiaGSENjBX+geoUM+DIS84jeZOFtB7Sm1kqMKfkEarygtNTtibqvFzk34vREVhwcgF3bTl5BjhU9D+7lWwt6VBKCUvMFcJPCHuuM/jMkZb+unllsu8LbtbhWT2TcnHhup/7Yfu4Z79RhdxnL8jbwIPbiCLBkOEbN/"\n"624EYHRhtEAPYuQKOjWt1IemQtE6BCxEsHhaSB4W1l1Ji21Q3vDyf0s+LM2ETjT2jxmcYR7G+e10QIDAQAB" ) ; ----- DKIM key mail for selby.ca'' mail._domainkey IN TXT ( "v=DKIM1; k=rsa; "
]; "p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA68IHVXbgnu0rqAvsM3mKT9WmlvYM22COWh5FzlFOUguZ3n"
"WCrcZGt8l5G004tDjCwgdCz4e0eUq3VqtPIcGfMd56jK61XAqN7wzRXTjEjiaGSENjBX+geoUM+DIS84jeZOFtB7Sm1k"
"qMKfkEarygtNTtibqvFzk34vREVhwcgF3bTl5BjhU9D+7lWwt6VBKCUvMFcJPCHuuM/jMkZb+unllsu8LbtbhWT2TcnH"
"hup/7Yfu4Z79RhdxnL8jbwIPbiCLBkOEbN/624EYHRhtEAPYuQKOjWt1IemQtE6BCxEsHhaSB4W1l1Ji21Q3vDyf0s+L"
"M2ETjT2jxmcYR7G+e10QIDAQAB" ) ; ----- DKIM key mail for selby.ca''];
srv-records.tcp = { srv-records.tcp = {
http = [{ http = [{