feat(cluster): add hosts and change group name
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-01-26 20:43:09 -05:00
parent 141299e3ad
commit 91d2b7cedb
3 changed files with 12 additions and 8 deletions

View file

@ -46,6 +46,10 @@ in {
clusterIP clusterIP
"1.0.0.1" "1.0.0.1"
]; ];
extraHosts = ''
10.0.0.244 thingone
10.0.0.159 thingtwo
'';
firewall.enable = false; firewall.enable = false;
}; };

View file

@ -26,32 +26,32 @@ in {
"caddy-vip" = { "caddy-vip" = {
ip = "10.0.0.130"; ip = "10.0.0.130";
interface = "eno1"; interface = "eno1";
group = "caddy"; group = "caddy-grp";
}; };
}; };
systemdResources = { systemdResources = {
"caddy" = { "caddy" = {
enable = true; enable = true;
group = "caddy"; group = "caddy-grp";
startAfter = ["caddy-vip"]; startAfter = ["caddy-vip"];
}; };
"unbound" = { "unbound" = {
enable = true; enable = true;
group = "caddy"; group = "caddy-grp";
startAfter = ["caddy"]; startAfter = ["caddy"];
}; };
"blocky" = { "blocky" = {
enable = true; enable = true;
group = "caddy"; group = "caddy-grp";
startAfter = ["unbound"]; startAfter = ["unbound"];
}; };
"headscale" = { "headscale" = {
enable = true; enable = true;
group = "caddy"; group = "caddy-grp";
startAfter = ["blocky"]; startAfter = ["blocky"];
}; };
}; };

View file

@ -1044,11 +1044,11 @@
"nixpkgs-pacemaker": "nixpkgs-pacemaker" "nixpkgs-pacemaker": "nixpkgs-pacemaker"
}, },
"locked": { "locked": {
"lastModified": 1706296989, "lastModified": 1706319439,
"narHash": "sha256-qpaRjqvPVio4T3qV6Hws1kr1ohwY+Dhx82KFEPeSiLU=", "narHash": "sha256-bsKLDWLv+jCsQ4ToNkDwJT1tbJusekVzE84nRRX3Zko=",
"owner": "matt1432", "owner": "matt1432",
"repo": "nixos-pacemaker", "repo": "nixos-pacemaker",
"rev": "f819e743d2e2329f7c306978a5ea084955c0364d", "rev": "09659272afc0790e08d19b608aaa4a06eb989803",
"type": "github" "type": "github"
}, },
"original": { "original": {