Files

28 lines
631 B
Nix

{ pkgs, ... }:
{
programs.direnv.enable = true;
users.users.chris.shell = pkgs.zsh;
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestions.enable = true;
syntaxHighlighting.enable = true;
interactiveShellInit = "fastfetch";
shellAliases = {
ll = "ls -l";
calc = "kalker";
n = "nvim .";
};
histSize = 10000;
histFile = "$HOME/.zsh_history";
setOptions = [ "HIST_IGNORE_ALL_DUPS" ];
oh-my-zsh = {
enable = true;
theme = "clean";
plugins = [ "git" "sudo" "direnv" ];
};
};
environment.systemPackages = [ pkgs.kalker ];
}