fix(wayland): disable ozone on nvidia
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
ebf67d814b
commit
8d1adf5ac9
1 changed files with 8 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
|||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) concatStringsSep optionals;
|
||||
inherit (lib) concatStringsSep mkIf optionals;
|
||||
inherit (config.vars) mainUser;
|
||||
|
||||
cfg = config.programs.hyprland;
|
||||
|
@ -18,9 +18,12 @@ in {
|
|||
./security.nix
|
||||
];
|
||||
|
||||
environment.sessionVariables = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
environment.sessionVariables =
|
||||
{
|
||||
GTK_USE_PORTAL = "1";
|
||||
}
|
||||
// mkIf (!config.nvidia.enable) {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
Loading…
Reference in a new issue