nixosTests option is exposed via flakeModules.testModule
This commit is contained in:
@@ -1,7 +1,22 @@
|
|||||||
{ self, config, ... }:
|
{
|
||||||
|
self,
|
||||||
|
inputs,
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
flake-parts-lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
flake.flakeModules = {
|
flake.flakeModules = {
|
||||||
clan = import ./clan.nix self;
|
clan = import ./clan.nix self;
|
||||||
default = config.flake.flakeModules.clan;
|
default = config.flake.flakeModules.clan;
|
||||||
|
testModule = import ../lib/flake-parts/clan-nixos-test.nix {
|
||||||
|
inherit
|
||||||
|
self
|
||||||
|
inputs
|
||||||
|
lib
|
||||||
|
flake-parts-lib
|
||||||
|
;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user