Add project to repo

This commit is contained in:
panotaka
2023-11-21 00:39:36 -04:00
parent 26064838f8
commit ce7c15186e
31 changed files with 1315 additions and 0 deletions

36
home/shell/default.nix Normal file
View File

@@ -0,0 +1,36 @@
{ config, ... }:
let
d = config.xdg.dataHome;
c = config.xdg.configHome;
cache = config.xdg.cacheHome;
in
{
imports = [
./nushell
./common.nix
./starship.nix
./terminals.nix
];
# add environment variables
home.sessionVariables = {
# clean up ~
LESSHISTFILE = cache + "/less/history";
LESSKEY = c + "/less/lesskey";
WINEPREFIX = d + "/wine";
# set default applications
EDITOR = "vim";
BROWSER = "firefox";
TERMINAL = "alacritty";
# enable scrolling in git diff
DELTA_PAGER = "less -R";
MANPAGER = "sh -c 'col -bx | bat -l man -p'";
};
home.shellAliases = {
k = "kubectl";
};
}