From dbccd5e09799314d8db9a320ba03e167053fd400 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 15 Jul 2023 21:43:10 +0300 Subject: [PATCH] fix --- modules/shell/zsh/default.nix | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/modules/shell/zsh/default.nix b/modules/shell/zsh/default.nix index 57eb922f..861189a4 100644 --- a/modules/shell/zsh/default.nix +++ b/modules/shell/zsh/default.nix @@ -13,14 +13,12 @@ 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 = { pkgs, ...}: { programs.zsh = { - enable = true; - enableCompletion = true; plugins = [ { name = "zsh-nix-shell"; @@ -32,18 +30,7 @@ in sha256 = "oQpYKBt0gmOSBgay2HgbXiDoZo5FoUKwyHSlUrOAP5E="; }; } - { - file = "powerlevel10k.zsh-theme"; - name = "powerlevel10k"; - src = "${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k"; - } - { - file = "p10k.zsh"; - name = "powerlevel10k-config"; - src = ../../../config/zsh/p10k.zsh; # Some directory containing your p10k.zsh file - } ]; - #initExtra = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"; }; };