From 02591d8594d128dc29cbe69bb25c4c79a37a882e Mon Sep 17 00:00:00 2001 From: Bart van der Braak Date: Thu, 17 Oct 2024 19:22:34 +0200 Subject: [PATCH] Change electron env vars and codium --- tongfang/nixos/configuration.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tongfang/nixos/configuration.nix b/tongfang/nixos/configuration.nix index 6390f1f..4b2fa05 100644 --- a/tongfang/nixos/configuration.nix +++ b/tongfang/nixos/configuration.nix @@ -60,7 +60,7 @@ description = "Bart van der Braak"; extraGroups = [ "networkmanager" "wheel" ]; packages = with pkgs; [ - vscodium-fhs + vscodium thunderbird fastfetch wezterm @@ -85,7 +85,11 @@ curl fzf ]; - environment.variables.EDITOR = "vim"; + environment.variables = { + EDITOR = "vim"; + ELECTRON_OZONE_PLATFORM_HINT = "wayland"; + NIXOS_OZONE_WL = "1"; + }; fonts.packages = with pkgs; [ jetbrains-mono