Merge pull request 'kurogeek-flakeModules-clan-nixos-test' (#5177) from Qubasa/clan-core:kurogeek-flakeModules-clan-nixos-test into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5177
This commit is contained in:
Luis Hebendanz
2025-09-16 15:20:16 +00:00
2 changed files with 18 additions and 2 deletions

View File

@@ -1,7 +1,23 @@
{ self, config, ... }:
{
self,
inputs,
config,
lib,
flake-parts-lib,
...
}:
{
flake.flakeModules = {
clan = import ./clan.nix self;
default = config.flake.flakeModules.clan;
# testModule is an unstable interface and can change at any time.
testModule = lib.modules.importApply ../lib/flake-parts/clan-nixos-test.nix {
inherit
self
inputs
lib
flake-parts-lib
;
};
};
}

View File

@@ -24,7 +24,7 @@ in
in
{
options.clan.nixosTests = mkOption {
description = "Clan NixOS tests configuration";
description = "Unstable interface! Clan NixOS tests configuration";
type = types.attrsOf types.unspecified;
default = { };
};