nixos-configs/devices/cluster/modules/pacemaker/default.nix

27 lines
382 B
Nix
Raw Normal View History

{...}: {
2024-01-22 22:47:31 -05:00
imports = [
./options.nix
../corosync.nix
../caddy.nix
];
# TODO: update script
services.pacemaker = {
enable = true;
2024-01-22 22:47:31 -05:00
resources = {
"caddy" = {
enable = true;
virtualIps = [
{
id = "main";
interface = "eno1";
ip = "10.0.0.130";
}
];
2024-01-22 22:47:31 -05:00
};
};
};
}