dotfiles/modules/home/common/terminal/default.nix
Christopher Mühl 0fa23fdd05
Create nushell application wrapper
Also move elements to `/nix/elements`.
2025-11-19 00:21:17 +01:00

29 lines
614 B
Nix

{config, ...}: let
data = config.xdg.dataHome;
conf = config.xdg.configHome;
cache = config.xdg.cacheHome;
in {
imports = [
./programs
./shell/aliases.nix
./shell/prompt.nix
# ./shell/nu
];
# add environment variables
home.sessionVariables = {
# clean up ~
LESSHISTFILE = "${cache}/less/history";
LESSKEY = "${conf}/less/lesskey";
DIRENV_LOG_FORMAT = "";
BROWSER = "firefox";
TERMINAL = "kitty";
EDITOR = "hx";
TERM = "xterm-color";
QT_QPA_PLATFORMTHEME = "qt5ct";
# auto-run programs using nix-index-database
NIX_AUTO_RUN = "1";
};
}