nixos-config/hosts/dell-5590/home-manager/starship.nix

31 lines
679 B
Nix

{ config, pkgs, ... }:
{
programs.starship = {
enable = true;
enableFishIntegration = true;
# Configuration écrite dans ~/.config/starship.toml
settings = {
#[[battery.display]]
# threshold = 50
# add_newline = false;
# character = {
# success_symbol = "[➜](bold green)";
# error_symbol = "[➜](bold red)";
# };
# package.disabled = true;
};
};
}
## environment.variables = let
## starshipConfToml =
## pkgs.writeText "starship.toml" ''
## [[battery.display]]
## threshold = 50
## '';
## in {
## EDITOR = "nvim";
## STARSHIP_CONFIG = "${starshipConfToml}";
## };