oh my zsh
This commit is contained in:
parent
cc74263a3b
commit
643396a7dd
6 changed files with 52 additions and 13 deletions
9
modules/usermodules/git.nix
Normal file
9
modules/usermodules/git.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
extraConfig = {
|
||||
user.name = "Maxiem Geldhof";
|
||||
user.email = "author@maxiemgeldhof.com";
|
||||
};
|
||||
};
|
||||
}
|
||||
28
modules/usermodules/zsh.nix
Normal file
28
modules/usermodules/zsh.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
|
||||
shellAliases = {
|
||||
ll = "ls -l";
|
||||
edit = "sudo -e";
|
||||
update = "sudo nixos-rebuild switch";
|
||||
};
|
||||
|
||||
history.size = 10000;
|
||||
history.ignoreAllDups = true;
|
||||
history.path = "$HOME/.zsh_history";
|
||||
history.ignorePatterns = [
|
||||
"rm *"
|
||||
"pkill *"
|
||||
"cp *"
|
||||
];
|
||||
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
theme = "robbyrussell";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue