remove overriding session variables

This commit is contained in:
Noa Aarts 2025-03-30 08:58:31 +02:00
parent dd6165547d
commit 066e749269
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -115,20 +115,9 @@ in
preferXdgDirectories = true; preferXdgDirectories = true;
# I'm unsure if these work, which is annoying, but eh. who cares # I'm unsure if these work, which is annoying, but eh. who cares
sessionVariables = sessionVariables = {
{
EDITOR = "nvim"; EDITOR = "nvim";
TERM = "kitty"; TERM = "kitty";
}
// lib.mkIf enableGraphical {
DISPLAY = ":0";
GDK_BACKEND = "wayland,x11";
QT_QPA_PLATFORM = "wayland;xcb";
CLUTTER_BACKEND = "wayland";
XDG_CURRENT_DESKTOP = "niri";
XDG_SESSION_TYPE = "wayland";
XDG_SESSION_DESKTOP = "niri";
WLR_NO_HARDWARE_CURSORS = "1";
}; };
# the default config told me not to change this # the default config told me not to change this