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

17 lines
296 B
Nix
Raw Normal View History

2022-12-30 12:05:46 +00:00
{ config, lib, pkgs, ... }:
with lib;
let cfg = config.features.cli.starship;
2022-12-30 12:05:46 +00:00
in {
options.features.cli.starship.enable = mkEnableOption "enable starship prompt";
2022-12-30 12:05:46 +00:00
config = mkIf cfg.enable {
programs.starship = {
enable = true;
enableFishIntegration = true;
};
}; }