env: add electron wayland hint
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
71d72af36c
commit
285cc40c80
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ in {
|
||||||
|
|
||||||
# https://wiki.nixos.org/wiki/Wayland#Electron_and_Chromium
|
# https://wiki.nixos.org/wiki/Wayland#Electron_and_Chromium
|
||||||
NIXOS_OZONE_WL = mkIf cfg.wayland "1";
|
NIXOS_OZONE_WL = mkIf cfg.wayland "1";
|
||||||
|
ELECTRON_OZONE_PLATFORM_HINT = mkIf cfg.wayland "auto";
|
||||||
};
|
};
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue