home: Run electron applications with Wayland

This commit is contained in:
Mikael 2024-08-31 12:27:07 +02:00
parent 04ed137a0e
commit 59a47afe61
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -273,6 +273,7 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) {
};
environment = {
ELECTRON_OZONE_PLATFORM_HINT = "wayland";
NIXOS_OZONE_WL = "1";
SSH_ASKPASS = askpass;
SSH_ASKPASS_REQUIRE = "force";