add zsh
This commit is contained in:
parent
c608eb1ab2
commit
14420faef5
@ -39,6 +39,7 @@
|
||||
pkgs.chromium
|
||||
pkgs.nil
|
||||
pkgs.nixpkgs-fmt
|
||||
pkgs.thefuck
|
||||
];
|
||||
|
||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||
@ -84,4 +85,23 @@
|
||||
userName = "Jonas Röger";
|
||||
userEmail = "jonas.roeger@tu-dortmund.de";
|
||||
};
|
||||
|
||||
# Zsh
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
|
||||
shellAliases = {
|
||||
ll = "ls -l";
|
||||
update = "sudo nixos-rebuild switch";
|
||||
};
|
||||
history.size = 10000;
|
||||
history.path = "${config.xdg.dataHome}/zsh/history";
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [ "git" "thefuck" ];
|
||||
theme = "bureau";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@ -65,6 +65,9 @@
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
packages = with pkgs; [ ];
|
||||
};
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
# Enable automatic login for the user.
|
||||
services.xserver.displayManager.autoLogin.enable = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user