nix-conf/modules/home-manager/session-vars/default.nix
2024-09-16 10:03:37 +05:30

22 lines
564 B
Nix

_: {
home.sessionVariables = {
# default editor
EDITOR = "nvim";
NIXPKGS_ALLOW_UNFREE = 1;
# sshaskpass
SSH_ASKPASS = "/home/user/.nix-profile/bin/ksshaskpass";
SSH_ASKPASS_REQUIRE = "prefer";
# Store git credentials in KDE Wallet
GIT_ASKPASS = "/home/user/.nix-profile/bin/ksshaskpass";
#WAYLAND_DISPLAY = "wayland-1";
QT_QPA_PLATFORM = "xcb";
#QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
#SDL_VIDEODRIVER = "wayland";
#CLUTTER_BACKEND = "wayland";
#MOZ_ENABLE_WAYLAND = "1";
DISPLAY = ":0";
};
}