looking-glass: add igpu option
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
5adf45d44b
commit
bc5366e041
4 changed files with 7 additions and 2 deletions
|
@ -10,6 +10,11 @@
|
|||
height = 1440;
|
||||
refresh = 100;
|
||||
|
||||
programs.looking-glass = {
|
||||
enable = true;
|
||||
igpu = true;
|
||||
};
|
||||
|
||||
settings = {
|
||||
storage.mnt = ["gayme" "myve"];
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;};
|
||||
};
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
full = true;
|
||||
profile = "desktop";
|
||||
wallpaper = true;
|
||||
programs.looking-glass.enable = true;
|
||||
services.power-profiles-daemon.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue