about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-09-02 12:37:10 +0900
committersefidel <contact@sefidel.net>2023-09-02 12:37:13 +0900
commit36936f5f676fc3878eb875f65f1720e93c3da0d9 (patch)
tree68e9f1d4cda2e1075d771b11f4206c22733a727e /home
parente8eccb1d82087834529b8d37f409fc5a275efc49 (diff)
downloadnixrc-36936f5f676fc3878eb875f65f1720e93c3da0d9.tar.gz
nixrc-36936f5f676fc3878eb875f65f1720e93c3da0d9.zip
feat(home/gui): move NIXOS_OZONE_WL to gui
* this is a wayland-specific variable
Diffstat (limited to 'home')
-rw-r--r--home/profiles/base/default.nix1
-rw-r--r--home/profiles/gui/default.nix1
2 files changed, 1 insertions, 1 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix
index a177e45..38337e1 100644
--- a/home/profiles/base/default.nix
+++ b/home/profiles/base/default.nix
@@ -16,7 +16,6 @@ in
 
   config = lib.mkIf cfg.enable {
     home.sessionVariables = rec {
-      # NIXOS_OZONE_WL = 1; # FIXME: interface 'wl_output' has no event 4
       EDITOR = "nvim";
       VISUAL = EDITOR;
       GIT_EDITOR = EDITOR;
diff --git a/home/profiles/gui/default.nix b/home/profiles/gui/default.nix
index 73ee1fd..24b1a6a 100644
--- a/home/profiles/gui/default.nix
+++ b/home/profiles/gui/default.nix
@@ -69,6 +69,7 @@ in
     ];
 
     home.sessionVariables = {
+      NIXOS_OZONE_WL = 1; # NOTE: might cause problems with old electron
       _JAVA_AWT_WM_NONREPARENTING = "1"; # Fix 'grey screen' issue on java apps
     };