diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-08-25 23:26:35 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-08-25 23:26:58 +0200 |
| commit | c201188e0bd1c666a86e7c3ec85ec6a43c6bd35f (patch) | |
| tree | c04fa6026078916f78a9f83d5aed35b13da9e375 /modules/by-name/st/starship/module.nix | |
| parent | modules/direnv: Consistently run `direnv export` (diff) | |
| download | nixos-config-c201188e0bd1c666a86e7c3ec85ec6a43c6bd35f.zip | |
modules/{direnv,starship}: Enable direnv landrun sandbox
Diffstat (limited to '')
| -rw-r--r-- | modules/by-name/st/starship/module.nix | 10 |
1 files changed, 5 insertions, 5 deletions
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"; }; }; |
