vmapp-demo: copypaste-ability
This commit is contained in:
parent
5f58a2ebb2
commit
6dcd2a370a
1 changed files with 5 additions and 4 deletions
|
|
@ -8,6 +8,7 @@
|
|||
}:
|
||||
|
||||
let
|
||||
inherit (config._module.args) inputs;
|
||||
cfg = config.vmapps;
|
||||
desktopItems' = pkgs.callPackage ../pkgs/desktopAdapters.nix { };
|
||||
desktopItems = desktopItems'.overrideScope (
|
||||
|
|
@ -28,8 +29,8 @@ let
|
|||
modules = extraModules ++ [
|
||||
{
|
||||
microvm.hypervisor = "cloud-hypervisor";
|
||||
microvm.hotpluggedMem = 128;
|
||||
microvm.hotplugMem = 512;
|
||||
microvm.hotpluggedMem = lib.mkDefault 128;
|
||||
microvm.hotplugMem = lib.mkDefault 512;
|
||||
microvm.shares = [
|
||||
{
|
||||
source = "send";
|
||||
|
|
@ -50,10 +51,10 @@ let
|
|||
./uvms-guest.nix
|
||||
./vsock-connect-guest.nix
|
||||
(modulesPath + "/profiles/minimal.nix")
|
||||
(config._module.args.inputs."microvm.nix" + "/nixos-modules/microvm")
|
||||
(inputs."microvm.nix" + "/nixos-modules/microvm")
|
||||
];
|
||||
specialArgs = {
|
||||
inherit (config._module.args) inputs;
|
||||
inherit inputs;
|
||||
};
|
||||
};
|
||||
runner = evaluated.config.microvm.declaredRunner;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue