feature(cluster): start pacemaker config
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
cf60a45c4c
commit
39a8c047cc
3 changed files with 17 additions and 0 deletions
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}"];
|
||||
}
|
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
BIN
flake.nix
BIN
flake.nix
Binary file not shown.
Loading…
Reference in a new issue