diff options
| author | seth <[email protected]> | 2023-11-28 23:22:55 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-11-28 23:22:55 -0500 |
| commit | 762d3a91cfe613e301916c1f96e0701014b4f750 (patch) | |
| tree | 278e361abe5a174277415bf512360600651e4049 /users/seth/shell/default.nix | |
| parent | a81724f27ed76ed1de49af7b9df335d3c4c20e20 (diff) | |
seth: add vscode
Diffstat (limited to 'users/seth/shell/default.nix')
| -rw-r--r-- | users/seth/shell/default.nix | 10 |
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 = { |
