refactor: split env vars by profile, move compositor modules out of base

This commit is contained in:
2026-03-04 20:07:15 +01:00
parent 1c15dc043d
commit 9cfbe1a050
4 changed files with 37 additions and 30 deletions
+16 -1
View File
@@ -7,7 +7,22 @@
../modules/niri.nix
../modules/dms.nix
];
home.sessionPath = [
"$HOME/.config/emacs/bin"
];
systemd.user.sessionVariables = {
TERMINAL = "kitty";
EDITOR = "emacsclient -c -a nvim";
VISUAL = "emacsclient -c -a nvim";
ELECTRON_OZONE_PLATFORM_HINT = "auto";
NIXOS_OZONE_WL = "1";
MOZ_ENABLE_WAYLAND = "1";
QT_QPA_PLATFORM = "wayland";
GDK_BACKEND = "wayland";
SDL_VIDEODRIVER = "wayland";
_JAVA_AWT_WM_NONREPARENTING = "1";
};
home.packages = with pkgs; [
#desktop specific
# add desktop-specific packages here
];
}