checks/patroni: import systemd-extras module
This commit is contained in:
parent
5e755ea855
commit
600756b494
2 changed files with 4 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
|||
};
|
||||
|
||||
patroni = pkgs.callPackage ./patroni.nix {
|
||||
patroniModule = self.nixosModules.patroni;
|
||||
inherit (self) nixosModules;
|
||||
};
|
||||
searxng = pkgs.callPackage ./searxng.nix {
|
||||
inherit (self'.packages) searxng;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ nixosTest, patroniModule }:
|
||||
{ nixosTest, nixosModules }:
|
||||
|
||||
# taken from https://github.com/phfroidmont/nixpkgs/blob/patroni-module/nixos/tests/patroni.nix
|
||||
nixosTest (
|
||||
|
@ -15,7 +15,8 @@ nixosTest (
|
|||
in
|
||||
{
|
||||
imports = [
|
||||
patroniModule
|
||||
nixosModules.patroni
|
||||
nixosModules.systemd-extras
|
||||
];
|
||||
|
||||
networking.interfaces.eth1.ipv4.addresses = pkgs.lib.mkOverride 0 [
|
||||
|
|
Loading…
Reference in a new issue