nichts/modules/programs/cli/oh-my-posh.nix
2024-09-09 19:51:13 +02:00

25 lines
526 B
Nix

{
config,
lib,
pkgs,
...
}: let
inherit (config.modules.other.system) username;
inherit (lib) mkIf;
cfg = config.modules.system.programs.oh-my-posh;
in {
config = mkIf cfg.enable {
home-manager.users.${username} = {
programs.oh-my-posh = {
enable = true;
package = pkgs.eza;
enableNushellIntegration = true;
enableBashIntegration = true;
enableFishIntegration = true;
enableZshIntegration = true;
settings = {
};
};
};
};
}