1
1
Fork 0

looking-glass: add igpu option

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-12-11 21:25:08 -06:00
parent 5adf45d44b
commit bc5366e041
Signed by: myned
GPG key ID: C7224454F7881A34
4 changed files with 7 additions and 2 deletions

View file

@ -10,6 +10,11 @@
height = 1440;
refresh = 100;
programs.looking-glass = {
enable = true;
igpu = true;
};
settings = {
storage.mnt = ["gayme" "myve"];

View file

@ -231,7 +231,7 @@ in {
"extensions.formautofill.creditCards.enabled" = locked false;
"general.autoScroll" = locked false;
"general.smoothScroll" = locked true;
"gfx.webrender.software" = locked true;
"gfx.webrender.software" = locked config.custom.programs.looking-glass.igpu; # Reduce load on iGPU
"layers.acceleration.force-enabled" = locked true;
"layout.css.always_underline_links" = locked false;
"layout.css.backdrop-filter.enabled" = locked true;

View file

@ -8,6 +8,7 @@ with lib; let
in {
options.custom.programs.looking-glass = {
enable = mkOption {default = false;};
igpu = mkOption {default = false;};
kvmfr = mkOption {default = true;};
};

View file

@ -3,7 +3,6 @@
full = true;
profile = "desktop";
wallpaper = true;
programs.looking-glass.enable = true;
services.power-profiles-daemon.enable = true;
};
}