feat: Make zsh default shell

master
Chan Wen Xu 2021-09-11 22:25:54 +07:00
parent 5005a3ca07
commit 9ce77ba749
2 changed files with 15 additions and 0 deletions

@ -20,6 +20,7 @@
});
};
environment.pathsToLink = [ "/share/zsh" ]; # Required for autocompletion.
environment.systemPackages = with pkgs; [
firefox
git
@ -53,12 +54,15 @@
windowManager.i3.enable = true;
};
programs.zsh.enable = true;
users = {
mutableUsers = false; # Force all users to be declared
users.chanbakjsd = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ];
hashedPassword = self.secrets.passwordHash;
shell = pkgs.zsh;
};
};

@ -15,6 +15,17 @@
size = 12;
};
};
programs.zsh = {
enable = true;
enableSyntaxHighlighting = true;
plugins = [
{
name = "powerlevel10k";
src = pkgs.zsh-powerlevel10k;
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
}
];
};
services.flameshot.enable = true;
services.polybar = {
enable = true;