From c201188e0bd1c666a86e7c3ec85ec6a43c6bd35f Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 25 Aug 2026 23:26:35 +0200 Subject: modules/{direnv,starship}: Enable direnv landrun sandbox --- modules/by-name/st/starship/module.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/by-name/st/starship') diff --git a/modules/by-name/st/starship/module.nix b/modules/by-name/st/starship/module.nix index 9c0ef7ba..a271d645 100644 --- a/modules/by-name/st/starship/module.nix +++ b/modules/by-name/st/starship/module.nix @@ -37,7 +37,7 @@ in { format = lib.concatStrings [ "$directory" "$username" - "\${custom.in_nixos_shell}" + "\${custom.in_direnv_sandbox}" "$cmd_duration" "$status" "$character" @@ -121,12 +121,12 @@ in { }; custom = { - in_nixos_shell = { - symbol = "VM "; + in_direnv_sandbox = { + symbol = "ξΆ‘ "; style = "bold white"; - when = ''test "$IN_NIXOS_SHELL" = true''; + when = ''test "$IN_DIRENV_SANDBOX" = true''; shell = ["${lib.getExe pkgs.dash}"]; - description = "Show if a shell is run in a vm"; + description = "Show if a shell is run in a direnv landrun sandbox"; }; }; -- cgit v1.3.1