From cd6c33ce9a112ce73ccd4d258340711994c7ed42 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Wed, 22 May 2024 10:52:15 -0400 Subject: [PATCH] chore(nvidia): add wayland env var --- modules/hyprland/default.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/modules/hyprland/default.nix b/modules/hyprland/default.nix index 5130118..bd507ff 100644 --- a/modules/hyprland/default.nix +++ b/modules/hyprland/default.nix @@ -5,7 +5,7 @@ lib, ... }: let - inherit (lib) concatStringsSep mkIf optionals; + inherit (lib) concatStringsSep optionals; inherit (config.vars) mainUser; cfg = config.programs.hyprland; @@ -19,13 +19,10 @@ in { ./security.nix ]; - environment.sessionVariables = - { - GTK_USE_PORTAL = "1"; - } - // mkIf (!config.nvidia.enable) { - NIXOS_OZONE_WL = "1"; - }; + environment.sessionVariables = { + GTK_USE_PORTAL = "1"; + NIXOS_OZONE_WL = "1"; + }; services = { dbus.enable = true;