Skip to content

Commit 139c3a1

Browse files
kajusnaubrianmcgillion
authored andcommitted
dell-7330: reduce flatpak and gui-vm memory usage
Signed-off-by: Kajus Naujokaitis <kajus.naujokaitis@unikie.com>
1 parent 938aa5d commit 139c3a1

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

targets/laptop/flake-module.nix

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,13 @@ let
7878
ghaf = {
7979
reference.profiles.mvp-user-trial.enable = true;
8080
partitioning.disko.enable = true;
81+
82+
virtualization.microvm.guivm.extraModules = [
83+
{
84+
microvm.mem = lib.mkForce 6144;
85+
}
86+
];
87+
virtualization.microvm.appvm.vms.flatpak.ramMb = lib.mkForce 5120;
8188
};
8289
}
8390
]))
@@ -257,6 +264,13 @@ let
257264
ghaf = {
258265
reference.profiles.mvp-user-trial.enable = true;
259266
partitioning.disko.enable = true;
267+
268+
virtualization.microvm.guivm.extraModules = [
269+
{
270+
microvm.mem = lib.mkForce 6144;
271+
}
272+
];
273+
virtualization.microvm.appvm.vms.flatpak.ramMb = lib.mkForce 5120;
260274
};
261275
}
262276
]))

0 commit comments

Comments
 (0)