summaryrefslogtreecommitdiff
path: root/seth/shell/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2022-12-01 22:17:21 -0500
committerseth <[email protected]>2022-12-01 22:17:39 -0500
commitaca5eff381f76bc29f25191efc281ccf50cf0e3e (patch)
treee265f9ad2048225a56beba60197fb2b63f848af5 /seth/shell/default.nix
parentae4332f4e2f6c95289f43e0c233ee75066669669 (diff)
initial commit of files
Diffstat (limited to 'seth/shell/default.nix')
-rw-r--r--seth/shell/default.nix22
1 files changed, 22 insertions, 0 deletions
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";
+ };
+}