flake/nixos/environment.nix
2024-11-20 12:10:28 -05:00

15 lines
398 B
Nix

{ lib, ... }: {
environment.variables = {
EDITOR = "nvim";
VISUAL = "code";
# XDG settings
XDG_CONFIG_HOME = lib.mkDefault "$HOME/.config";
};
environment.sessionVariables = {
# Enable Ozone Wayland support in Chromium and Electron applications
#TODO - This causes issues with VSCode until the November 2024 release.
# NIXOS_OZONE_WL = lib.mkDefault "1";
};
}