summaryrefslogtreecommitdiff
path: root/users/seth/shell/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/seth/shell/default.nix')
-rw-r--r--users/seth/shell/default.nix10
1 files changed, 3 insertions, 7 deletions
diff --git a/users/seth/shell/default.nix b/users/seth/shell/default.nix
index 6ca9e3e..1a5bec1 100644
--- a/users/seth/shell/default.nix
+++ b/users/seth/shell/default.nix
@@ -5,16 +5,12 @@
];
home = {
- sessionVariables = let
- inherit (config.xdg) configHome dataHome stateHome;
- in {
+ sessionVariables = {
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";
+ CARGO_HOME = "${config.xdg.dataHome}/cargo";
+ LESSHISTFILE = "${config.xdg.stateHome}/less/history";
};
shellAliases = {