refactor: reorganise flake, tests and repo tasks
This commit is contained in:
1 parent
b93147c7a6
commit
794ca5a086
34 files changed
+670
-220
No files matched your search
@@ -0,0 +1,25 @@
|
||||
{ lib, bootvineModule }:
|
||||
let
|
||||
sampleUnits = import ./sample-units.nix;
|
||||
|
||||
machine = {
|
||||
imports = [
|
||||
bootvineModule
|
||||
./machine.nix
|
||||
];
|
||||
_module.args = { inherit sampleUnits; };
|
||||
};
|
||||
in
|
||||
{
|
||||
inherit sampleUnits machine;
|
||||
|
||||
nixosSystemFor =
|
||||
system:
|
||||
lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
machine
|
||||
./interactive-vm.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user