mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 05:23:28 +01:00
interactive-vm: convert into NixOS module
This commit is contained in:
1 parent
ba66c22ec1
commit
0943a50ee7
3 files changed
+44
-46
No files matched your search
+6
-3
@@ -8,9 +8,12 @@ let
|
||||
};
|
||||
cfg = config.disko;
|
||||
|
||||
vmVariantWithDisko = diskoLib.makeVMRunner {
|
||||
inherit pkgs;
|
||||
nixosConfig = args;
|
||||
vmVariantWithDisko = extendModules {
|
||||
modules = [
|
||||
./lib/interactive-vm.nix
|
||||
{ _module.args = { inherit diskoLib; }; }
|
||||
config.disko.tests.extraConfig
|
||||
];
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user