checks/patroni: import systemd-extras module

This commit is contained in:
Max Headroom 2023-08-23 18:03:39 +02:00
parent 5e755ea855
commit 600756b494
2 changed files with 4 additions and 3 deletions

View file

@ -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;

View file

@ -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 [