diff options
| author | Robert Hensing <robert@roberthensing.nl> | 2021-12-17 14:12:47 +0100 |
|---|---|---|
| committer | Robert Hensing <robert@roberthensing.nl> | 2021-12-17 14:12:47 +0100 |
| commit | a0ad8dcd354c67f084511e4ae78a27af83df95fd (patch) | |
| tree | fa5f2294be24f1b3fcb0ced1937db2143324ab35 /flake.nix | |
| parent | nixos/lib/eval-config.nix: Return all of evalModules return attrs (diff) | |
| download | nixpkgs-a0ad8dcd354c67f084511e4ae78a27af83df95fd.tar.gz | |
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.
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix index d1ec53f59315..3060ffdd649e 100644 --- a/flake.nix +++ b/flake.nix @@ -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; }; }) ]; |
