diff --git a/config/common.nix b/config/common.nix index 36c6394..2d9b5b0 100644 --- a/config/common.nix +++ b/config/common.nix @@ -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; }; }; diff --git a/home/home.nix b/home/home.nix index 63a14ae..a42fe8f 100644 --- a/home/home.nix +++ b/home/home.nix @@ -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;