moved zsh,vscode,and alacritty hm config to new module

This commit is contained in:
specCon18 2023-04-18 02:09:20 -04:00
parent 37784af8b0
commit b40c908ffe
5 changed files with 148 additions and 144 deletions

View file

@ -0,0 +1,29 @@
{ pkgs, config, lib, ...}:
{
programs.zsh = {
enable = lib.mkDefault true;
dotDir = ".config/zsh";
history = {
path = "$ZDOTDIR/.zsh_history";
save = 10000000;
};
enableAutosuggestions = lib.mkDefault true;
enableCompletion = lib.mkDefault true;
enableSyntaxHighlighting = lib.mkDefault true;
shellAliases = {
ls = "exa -l";
lsa = "exa -al";
cd = "z";
osrb = "sudo nixos-rebuild $1 --flake ~/code/nix/nixos-config/#creatorforge-framework";
zel = "zellij -s";
ns = "nix-shell";
top = "btm";
hx = "hx";
cat = "bat";
extract = "~/.config/zsh/extract.sh";
};
localVariables = {
EDITOR="hx";
};
};
}