clan-core: use importApply for testModule export
This commit is contained in:
@@ -10,7 +10,8 @@
|
|||||||
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 {
|
# testModule is an unstable interface and can change at any time.
|
||||||
|
testModule = lib.modules.importApply ../lib/flake-parts/clan-nixos-test.nix {
|
||||||
inherit
|
inherit
|
||||||
self
|
self
|
||||||
inputs
|
inputs
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ in
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.clan.nixosTests = mkOption {
|
options.clan.nixosTests = mkOption {
|
||||||
description = "Clan NixOS tests configuration";
|
description = "Unstable interface! Clan NixOS tests configuration";
|
||||||
type = types.attrsOf types.unspecified;
|
type = types.attrsOf types.unspecified;
|
||||||
default = { };
|
default = { };
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user