Put the test code in a separate flake.
This commit is contained in:
parent
d9d770da7a
commit
1f5cf750e5
3 changed files with 294 additions and 15 deletions
23
flake.nix
23
flake.nix
|
|
@ -49,6 +49,13 @@
|
|||
, pre-commit-hooks
|
||||
,
|
||||
}:
|
||||
{
|
||||
lib = import ./nix/lib.nix {
|
||||
inherit nixpkgs self;
|
||||
nixosModules = "${nixpkgs}/nixos";
|
||||
};
|
||||
}
|
||||
//
|
||||
(flake-utils.lib.eachSystem
|
||||
[
|
||||
flake-utils.lib.system.x86_64-linux
|
||||
|
|
@ -180,19 +187,5 @@
|
|||
system-manager
|
||||
system-manager-clippy;
|
||||
};
|
||||
}))
|
||||
//
|
||||
{
|
||||
lib = import ./nix/lib.nix {
|
||||
inherit nixpkgs self;
|
||||
nixosModules = "${nixpkgs}/nixos";
|
||||
};
|
||||
|
||||
systemConfigs.default = self.lib.makeSystemConfig {
|
||||
system = flake-utils.lib.system.x86_64-linux;
|
||||
modules = [
|
||||
./test/nix/modules
|
||||
];
|
||||
};
|
||||
};
|
||||
}));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue