From 43ed010cb243a280a1c07ae5f5819c2810ffe2b3 Mon Sep 17 00:00:00 2001 From: Igor Dejanovic Date: Mon, 10 Jun 2024 16:42:47 +0200 Subject: [PATCH] setup: bash prompt prefix config --- flake.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 18149424..b592d316 100644 --- a/flake.nix +++ b/flake.nix @@ -29,7 +29,7 @@ inherit system overlays; }; - rev = if builtins.hasAttr "rev" self then self.rev else self.dirtyRev; + rev = if (self ? rev) then self.rev else self.dirtyRev; book = import ./docs { inherit pkgs crane mdbook-theme; }; @@ -43,4 +43,8 @@ packages = rustemo.packages // book.packages; } ); + + nixConfig = { + bash-prompt-prefix = "rustemo-dev:"; + }; }