flake.nix: lib.nixosSystem: Set system.build.vm* with lib.mkDefault
This will help anyone who imports the qemu module themselves, to avoid a collision.
This commit is contained in:
parent
9fd9c617a9
commit
a0ad8dcd35
1 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,8 @@
|
|||
system.nixos.revision = final.mkIf (self ? rev) self.rev;
|
||||
|
||||
system.build = {
|
||||
vm = config.virtualisation.vmVariant.system.build.vm;
|
||||
vmWithBootLoader = config.virtualisation.vmVariantWithBootLoader.system.build.vm;
|
||||
vm = lib.mkDefault config.virtualisation.vmVariant.system.build.vm;
|
||||
vmWithBootLoader = lib.mkDefault config.virtualisation.vmVariantWithBootLoader.system.build.vm;
|
||||
};
|
||||
})
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue