first commit

This commit is contained in:
2024-02-29 12:04:20 +01:00
commit b8f1a62bdd
15 changed files with 685 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
{ pkgs, config, ... }:
{
home.packages = with pkgs; [
git
python3
zsh-nix-shell
nix-zsh-completions
];
programs.zsh = {
enable = true;
shellAliases = {
update = "sudo nixos-rebuild switch";
};
enableAutosuggestions = true;
enableCompletion = true;
enableVteIntegration = true;
history = {
expireDuplicatesFirst = true;
size = 100000000000;
path = "${config.xdg.dataHome}/zsh/zsh/history";
};
syntaxHighlighting = {
enable = true;
};
initExtra = ''
PROMPT='%F{green}%n%f@%F{magenta}%m%f %F{blue}%B%~%b%f %# '
RPROMPT='[%F{yellow}%?%f]'
'';
};
}