dotfiles/homes/x86_64-linux/christopher@cobalt/global/terminal/default.nix
2025-08-04 17:41:37 +02:00

30 lines
630 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
./shell/zsh
];
# 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";
};
}