diff --git a/nixos/environment.nix b/nixos/environment.nix index 30ffb65..29c6768 100644 --- a/nixos/environment.nix +++ b/nixos/environment.nix @@ -5,5 +5,13 @@ "nvim" else "code"); + + # XDG settings + XDG_CONFIG_HOME = lib.mkDefault "$HOME/.config"; + }; + + environment.sessionVariables = { + # Enable Ozone Wayland support in Chromium and Electron applications + NIXOS_OZONE_WL = lib.mkDefault "1"; }; }