From 762d3a91cfe613e301916c1f96e0701014b4f750 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 28 Nov 2023 23:22:55 -0500 Subject: seth: add vscode --- users/seth/shell/default.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'users/seth/shell/default.nix') 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 = { -- cgit v1.2.3