moved zsh,vscode,and alacritty hm config to new module
This commit is contained in:
parent
37784af8b0
commit
b40c908ffe
5 changed files with 148 additions and 144 deletions
29
modules/home-manager/zsh.nix
Normal file
29
modules/home-manager/zsh.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue