set XDG_CONFIG_HOME and NIXOS_OZONE_WL environment variables

This commit is contained in:
Seaswimmer 2024-11-17 14:38:38 -05:00
parent 7cf4c5b10e
commit a27c091860
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -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";
};
}