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
"1.0.0.1"
];
extraHosts = ''
10.0.0.244 thingone
10.0.0.159 thingtwo
'';
firewall.enable = false;
};

View file

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

View file

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