From f7eb8be947db952c10f32d03d84daa1e43a1bc83 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 15 Jul 2023 19:27:04 +0300 Subject: [PATCH] todo fix zsh --- modules/shell/zsh/default.nix | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/modules/shell/zsh/default.nix b/modules/shell/zsh/default.nix index 51eed686..7db50261 100644 --- a/modules/shell/zsh/default.nix +++ b/modules/shell/zsh/default.nix @@ -13,24 +13,21 @@ in programs.zsh = { enable = true; - enableCompletion = true; - promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"; + # enableCompletion = true; + # promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"; }; - home-manager.users.sako.programs.zsh = { - plugins = [ - { - name = "zsh-nix-shell"; - file = "nix-shell.plugin.zsh"; - src = pkgs.fetchFromGitHub { - owner = "chisui"; - repo = "zsh-nix-shell"; - rev = "v0.7.0"; - sha256 = "0za4aiwwrlawnia4f29msk822rj9bgcygw6a8a6iikiwzjjz0g91"; - }; - } - ]; + home-manager.users.sako = { pkgs, ...}: { + programs.zsh = { + enable = true; + enableCompletion = true; + oh-my-zsh = { + enable = true; + plugins = [ "git" "powerlevel10k" ]; + theme = "powerlevel10k"; + }; }; + }; # for theme fonts.fonts = with pkgs;[