Skip to content

Commit 07b41fd

Browse files
nesteroffbrianmcgillion
authored andcommitted
Add intel-laptop-low-mem target
Signed-off-by: Yuri Nesterov <yuriy.nesterov@unikie.com>
1 parent b302c23 commit 07b41fd

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

targets/laptop/flake-module.nix

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,23 @@ let
135135
};
136136
})
137137

138+
(ghaf-configuration {
139+
name = "intel-laptop-low-mem";
140+
inherit system;
141+
profile = "laptop-x86";
142+
hardwareModule = self.nixosModules.hardware-intel-laptop;
143+
variant = "debug";
144+
extraModules = commonModules;
145+
extraConfig = {
146+
reference.profiles.mvp-user-trial.enable = true;
147+
partitioning.disko.enable = true;
148+
};
149+
vmConfig = {
150+
guivm.mem = 6144;
151+
appvms.flatpak.ramMb = 5120;
152+
};
153+
})
154+
138155
(ghaf-configuration {
139156
name = "lenovo-t14-amd-gen5";
140157
inherit system;
@@ -390,6 +407,23 @@ let
390407
};
391408
})
392409

410+
(ghaf-configuration {
411+
name = "intel-laptop-low-mem";
412+
inherit system;
413+
profile = "laptop-x86";
414+
hardwareModule = self.nixosModules.hardware-intel-laptop;
415+
variant = "release";
416+
extraModules = commonModules;
417+
extraConfig = {
418+
reference.profiles.mvp-user-trial.enable = true;
419+
partitioning.disko.enable = true;
420+
};
421+
vmConfig = {
422+
guivm.mem = 6144;
423+
appvms.flatpak.ramMb = 5120;
424+
};
425+
})
426+
393427
(ghaf-configuration {
394428
name = "lenovo-t14-amd-gen5";
395429
inherit system;

0 commit comments

Comments
 (0)