Move the heisenbridge clanService test to the heisenbridge clan service. The tests should live close to the definition of the service, so that debugging and discoverability is better.
18 lines
410 B
Nix
18 lines
410 B
Nix
{ lib, self, ... }:
|
|
{
|
|
clan.modules = {
|
|
heisenbridge = lib.modules.importApply ./default.nix { };
|
|
};
|
|
perSystem =
|
|
{ pkgs, ... }:
|
|
{
|
|
checks = lib.optionalAttrs (pkgs.stdenv.isLinux) {
|
|
heisenbridge = import ./tests/vm/default.nix {
|
|
inherit pkgs;
|
|
clan-core = self;
|
|
nixosLib = import (self.inputs.nixpkgs + "/nixos/lib") { };
|
|
};
|
|
};
|
|
};
|
|
}
|