nixos-configs/devices/cluster/modules/pacemaker.nix
matt1432 39a8c047cc
All checks were successful
Discord / discord commits (push) Has been skipped
feature(cluster): start pacemaker config
2024-01-17 13:55:57 -05:00

17 lines
440 B
Nix

{nixpkgs-pacemaker, ...}: let
pacemakerPath = "services/cluster/pacemaker/default.nix";
in {
# FIXME: https://github.com/NixOS/nixpkgs/pull/208298
nixpkgs.overlays = [
(final: prev: {
inherit
(nixpkgs-pacemaker.legacyPackages.x86_64-linux)
pacemaker
ocf-resource-agents
;
})
];
disabledModules = [pacemakerPath];
import = ["${nixpkgs-pacemaker}/nixos/modules/${pacemakerPath}"];
}