summaryrefslogtreecommitdiff
path: root/users/seth/shell/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-11-28 23:22:55 -0500
committerseth <[email protected]>2023-11-28 23:22:55 -0500
commit762d3a91cfe613e301916c1f96e0701014b4f750 (patch)
tree278e361abe5a174277415bf512360600651e4049 /users/seth/shell/default.nix
parenta81724f27ed76ed1de49af7b9df335d3c4c20e20 (diff)
seth: add vscode
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 = {