summary refs log tree commit diff
path: root/nixos/default.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-12-17 14:34:30 +0100
committerRobert Hensing <robert@roberthensing.nl>2021-12-17 14:49:31 +0100
commit6510ec5acdd465a016e5671ffa99460ef70e6c25 (patch)
treea5df9efe3c9841e281d047f92f75caf2d0fd8aa5 /nixos/default.nix
parent4014fb6a64bc5f68326fc08cbaa83475db1fae8e (diff)
nixos: Make system.build.vm a standard attribute based on vmVariant
Diffstat (limited to 'nixos/default.nix')
-rw-r--r--nixos/default.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/default.nix b/nixos/default.nix
index 27a0fd73ecd77..6beb4cd3a7df7 100644
--- a/nixos/default.nix
+++ b/nixos/default.nix
@@ -16,7 +16,5 @@ in
 
   system = eval.config.system.build.toplevel;
 
-  vm = eval.config.virtualisation.vmVariant.system.build.vm;
-
-  vmWithBootLoader = eval.config.virtualisation.vmVariantWithBootLoader.system.build.vm;
+  inherit (eval.config.system.build) vm vmWithBootLoader;
 }