parent
cf60a45c4c
commit
39a8c047cc
3 changed files with 61 additions and 19 deletions
devices/cluster/modules
17
devices/cluster/modules/pacemaker.nix
Normal file
17
devices/cluster/modules/pacemaker.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{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}"];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue