nixos-configs/devices/cluster/modules/pacemaker/default.nix
matt1432 711d088988
All checks were successful
Discord / discord commits (push) Has been skipped
feat(pacemaker): make VIPs a list of sets and impl dependsOn
2024-01-23 12:26:49 -05:00

26 lines
382 B
Nix

{...}: {
imports = [
./options.nix
../corosync.nix
../caddy.nix
];
# TODO: update script
services.pacemaker = {
enable = true;
resources = {
"caddy" = {
enable = true;
virtualIps = [
{
id = "main";
interface = "eno1";
ip = "10.0.0.130";
}
];
};
};
};
}