26 lines
541 B
Nix
26 lines
541 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
cfg = config.samfelag.modules.shell.starship;
|
|
in
|
|
{
|
|
options.samfelag.modules.shell.starship = {
|
|
enable = lib.mkEnableOption "A prompt for any shell";
|
|
};
|
|
config = lib.mkIf cfg.enable {
|
|
hm.programs.starship = {
|
|
enable = true;
|
|
settings = {
|
|
add_newline = false;
|
|
|
|
# character = {
|
|
# success_symbol = "[➜](bold green)";
|
|
# error_symbol = "[➜](bold red)";
|
|
# };
|
|
|
|
# package.disabled = true;
|
|
};
|
|
};
|
|
};
|
|
}
|