fli/eza.nix: init

This commit is contained in:
Charlie Root 2024-09-09 19:51:13 +02:00
commit 204d97da9d
5 changed files with 93 additions and 4 deletions

View file

@ -0,0 +1,25 @@
{
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 = {
};
};
};
};
}