Serenity/home/terminal/default.nix
serenity-F f66b6aded8
whoops
2026-07-05 15:22:44 +10:00

29 lines
556 B
Nix

{ config, ... }:
let
data = config.xdg.dataHome;
conf = config.xdg.configHome;
cache = config.xdg.cacheHome;
in
{
imports = [
./programs
./kitty.nix
./fish.nix
];
# add environment variables
home.sessionVariables = {
# clean up ~
LESSHISTFILE = "${cache}/less/history";
LESSKEY = "${conf}/less/lesskey";
WINEPREFIX = "${data}/wine";
XAUTHORITY = "$XDG_RUNTIME_DIR/Xauthority";
EDITOR = "nvim";
DIRENV_LOG_FORMAT = "";
# auto-run programs using nix-index-database
NIX_AUTO_RUN = "1";
};
}