blob: 6ca9e3ea61b311597b1a99ca94c82d393f92552f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{config, ...}: {
imports = [
./bash.nix
./fish.nix
];
home = {
sessionVariables = let
inherit (config.xdg) configHome dataHome stateHome;
in {
EDITOR = "nvim";
VISUAL = "$EDITOR";
GPG_TTY = "$(tty)";
CARGO_HOME = "${dataHome}/cargo";
RUSTUP_HOME = "${dataHome}/rustup";
LESSHISTFILE = "${stateHome}/less/history";
NPM_CONFIG_USERCONFIG = "${configHome}/npm/npmrc";
};
shellAliases = {
diff = "diff --color=auto";
g = "git";
gs = "g status";
};
};
}
|