From 11852da8841b40e4e28cd7d31b91b2af4d7ecd44 Mon Sep 17 00:00:00 2001 From: uku Date: Thu, 9 Nov 2023 17:09:35 +0100 Subject: [PATCH] add nix-your-shell --- common.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/common.nix b/common.nix index 67ae453..3154338 100644 --- a/common.nix +++ b/common.nix @@ -138,6 +138,7 @@ gnome.file-roller ragenix.packages.${system}.default getchvim.packages.${system}.default + nix-your-shell ]; }; @@ -153,7 +154,13 @@ }; hyprland.enable = true; - fish.enable = true; + + fish = { + enable = true; + promptInit = '' + nix-your-shell fish | source + ''; + }; command-not-found.enable = false; nix-index = {