mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
34 lines
No EOL
826 B
Nix
Executable file
34 lines
No EOL
826 B
Nix
Executable file
{ lib, inputs, ... }:
|
||
{
|
||
programs.starship = {
|
||
enable = true;
|
||
|
||
enableBashIntegration = true;
|
||
enableZshIntegration = true;
|
||
enableNushellIntegration = true;
|
||
|
||
settings = {
|
||
format = lib.concatStrings [
|
||
"$directory"
|
||
"$git_branch"
|
||
"$git_status"
|
||
"$nix_shell"
|
||
];
|
||
|
||
# character = {
|
||
# success_symbol = "[ ](bold #89dceb)[›](bold green)";
|
||
# error_symbol = "[ ](bold #89dceb)[›](bold red)";
|
||
# };
|
||
|
||
# directory.substitutions = {
|
||
# "Documents" = " ";
|
||
# "Downloads" = " ";
|
||
# "Music" = " ";
|
||
# "Pictures" = " ";
|
||
# "~" = " ";
|
||
# };
|
||
|
||
palette = "catppuccin_mocha";
|
||
} // builtins.fromTOML (builtins.readFile "${inputs.catppuccin-starship}/palettes/mocha.toml");
|
||
};
|
||
} |