diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2024-05-05 00:45:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-05 00:45:50 +0200 |
commit | 68f45f55eea16440822093e99f9af7a94a42fbe5 (patch) | |
tree | 1e72eecb543fa1ad7d76df3943276d48abf00bfd | |
parent | 51ac096e2ddc7288f0b4f6372a6529dd3bd0ff6a (diff) | |
parent | 23bde0b9e3a221a77605d1322d7f2eb2c4f7b482 (diff) |
Merge pull request #308946 from eclairevoyant/revert-hyprland-envvars
nixos/hyprland: revert setting environment variables globally
-rw-r--r-- | nixos/modules/programs/wayland/hyprland.nix | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/nixos/modules/programs/wayland/hyprland.nix b/nixos/modules/programs/wayland/hyprland.nix index e648eaa1b68e4..5891ff25e4375 100644 --- a/nixos/modules/programs/wayland/hyprland.nix +++ b/nixos/modules/programs/wayland/hyprland.nix @@ -42,15 +42,6 @@ in xwayland.enable = mkEnableOption ("XWayland") // { default = true; }; - envVars.enable = mkEnableOption null // { - default = true; - example = false; - description = '' - Set environment variables for Hyprland to work properly. - Enabled by default. - ''; - }; - systemd.setPath.enable = mkEnableOption null // { default = true; example = false; @@ -83,15 +74,6 @@ in configPackages = mkDefault [ cfg.finalPackage ]; }; - environment.sessionVariables = mkIf cfg.envVars.enable { - XDG_CURRENT_DESKTOP = "Hyprland"; - XDG_SESSION_DESKTOP = "Hyprland"; - XDG_SESSION_TYPE = "wayland"; - GDK_BACKEND = "wayland,x11"; - QT_QPA_PLATFORM = "wayland;xcb"; - _JAVA_AWT_WM_NONREPARENTING = "1"; # Fix for Java applications on tiling window managers - }; - systemd = mkIf cfg.systemd.setPath.enable { user.extraConfig = '' DefaultEnvironment="PATH=$PATH:/run/current-system/sw/bin:/etc/profiles/per-user/%u/bin:/run/wrappers/bin" |