Put the test code in a separate flake.

This commit is contained in:
r-vdp 2023-03-27 15:55:19 +02:00
parent d9d770da7a
commit 1f5cf750e5
No known key found for this signature in database
3 changed files with 294 additions and 15 deletions

27
test/nix/flake.nix Normal file
View file

@ -0,0 +1,27 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
system-manager = {
url = "sourcehut:~r-vdp/system-manager";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
};
outputs =
{ flake-utils
, system-manager
, ...
}:
{
systemConfigs.default = system-manager.lib.makeSystemConfig {
system = flake-utils.lib.system.x86_64-linux;
modules = [
./modules
];
};
};
}