nix-configurations/home/features/cli/starship.nix

17 lines
296 B
Nix

{ config, lib, pkgs, ... }:
with lib;
let cfg = config.features.cli.starship;
in {
options.features.cli.starship.enable = mkEnableOption "enable starship prompt";
config = mkIf cfg.enable {
programs.starship = {
enable = true;
enableFishIntegration = true;
};
}; }