flake.nix: enable `nix run ...-vm`
which still doesn't work
This commit is contained in:
parent
292042b7d2
commit
53ac1caf13
|
@ -188,7 +188,11 @@
|
|||
"${host}-sdImage" = config.system.build.sdImage;
|
||||
} //
|
||||
nixpkgs.lib.optionalAttrs (config.system.build ? vm) {
|
||||
"${host}-vm" = config.system.build.vm;
|
||||
# TODO: containers still lack a `/kernel`
|
||||
"${host}-vm" = config.system.build.vm
|
||||
.overrideAttrs (oa: {
|
||||
meta.mainProgram = "run-${host}-vm";
|
||||
});
|
||||
}
|
||||
) {} (builtins.attrNames self.nixosConfigurations)
|
||||
) self.legacyPackages;
|
||||
|
|
Loading…
Reference in New Issue