chore(nvidia): add wayland env var
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
a6c90f335c
commit
cd6c33ce9a
1 changed files with 5 additions and 8 deletions
|
@ -5,7 +5,7 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) concatStringsSep mkIf optionals;
|
inherit (lib) concatStringsSep optionals;
|
||||||
inherit (config.vars) mainUser;
|
inherit (config.vars) mainUser;
|
||||||
|
|
||||||
cfg = config.programs.hyprland;
|
cfg = config.programs.hyprland;
|
||||||
|
@ -19,13 +19,10 @@ in {
|
||||||
./security.nix
|
./security.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.sessionVariables =
|
environment.sessionVariables = {
|
||||||
{
|
GTK_USE_PORTAL = "1";
|
||||||
GTK_USE_PORTAL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
}
|
};
|
||||||
// mkIf (!config.nvidia.enable) {
|
|
||||||
NIXOS_OZONE_WL = "1";
|
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
dbus.enable = true;
|
dbus.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue