summaryrefslogtreecommitdiff
path: root/home/ebisu
diff options
context:
space:
mode:
Diffstat (limited to 'home/ebisu')
-rw-r--r--home/ebisu/nara/default.nix18
1 files changed, 14 insertions, 4 deletions
diff --git a/home/ebisu/nara/default.nix b/home/ebisu/nara/default.nix
index 7686310..b6aff7d 100644
--- a/home/ebisu/nara/default.nix
+++ b/home/ebisu/nara/default.nix
@@ -9,10 +9,20 @@
file = {
".hushlogin".text = "";
- ".zshrc".text = ''
- source $(brew --prefix)/opt/zsh-vi-mode/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
- source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
- '';
+ ".zshrc".text =
+ let
+ agkozak-zsh-prompt = pkgs.fetchFromGitHub {
+ owner = "agkozak";
+ repo = "agkozak-zsh-prompt";
+ rev = "v3.11.4";
+ hash = "sha256-FC9LIZaS6fV20qq6cJC/xQvfsM3DHXatVleH7yBgoNg=";
+ };
+ in
+ ''
+ source $(brew --prefix)/opt/zsh-vi-mode/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
+ source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
+ source ${agkozak-zsh-prompt}/agkozak-zsh-prompt.plugin.zsh
+ '';
};
packages = with pkgs; [