nixosTests option is exposed via flakeModules.testModule

This commit is contained in:
kurogeek
2025-07-23 12:07:03 +07:00
committed by Qubasa
parent 50239028b6
commit cbdf8745eb

View File

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