From aca5eff381f76bc29f25191efc281ccf50cf0e3e Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 1 Dec 2022 22:17:21 -0500 Subject: initial commit of files --- seth/shell/default.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 seth/shell/default.nix (limited to 'seth/shell/default.nix') diff --git a/seth/shell/default.nix b/seth/shell/default.nix new file mode 100644 index 0000000..9d8455e --- /dev/null +++ b/seth/shell/default.nix @@ -0,0 +1,22 @@ +{ config, pkgs, ... }: + +{ + imports = [ + ./bash.nix + ./fish.nix + ./zsh.nix + ]; + + home.sessionVariables = { + EDITOR = pkgs.neovim; + VISUAL = pkgs.neovim; + CARGO_HOME = "${config.xdg.dataHome}/cargo"; + RUSTUP_HOME = "${config.xdg.dataHome}/rustup"; + LESSHISTFILE = "${config.xdg.stateHome}/less/history"; + NPM_CONFIG_USERCONFIG = "${config.xdg.configHome}/npm/npmrc"; + }; + + home.shellAliases = { + ls = "exa --icons"; + }; +} -- cgit v1.2.3