flake: add Flake Parts tree into testbed environment
Add the Flake Parts tree into the testbed environment, enabling realistic testing interactions. Flake Parts is chosen over Stylix to reduce cache invalidations, and over other flake inputs as the smallest tree.
This commit is contained in:
parent
e334b3019e
commit
1adb93fcbc
2 changed files with 8 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ let
|
|||
|
||||
modules =
|
||||
[
|
||||
(lib.modules.importApply ./modules/flake-parts.nix inputs)
|
||||
./modules/common.nix
|
||||
./modules/enable.nix
|
||||
./modules/application.nix
|
||||
|
|
|
|||
7
stylix/testbed/modules/flake-parts.nix
Normal file
7
stylix/testbed/modules/flake-parts.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
inputs:
|
||||
{ lib, ... }:
|
||||
{
|
||||
home-manager.sharedModules = lib.singleton {
|
||||
home.file.flake-parts.source = inputs.flake-parts;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue