{ 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}"; ## };