nichts/modules/tui/yazi.nix

21 lines
380 B
Nix
Raw Normal View History

2024-05-22 14:29:45 +02:00
{
config,
lib,
...
}:
with lib; let
cfg = config.modules.programs.yazi;
2024-07-14 13:31:28 +02:00
inherit (config.modules.other.system) username;
2024-04-14 10:03:43 +02:00
in {
2024-05-22 14:29:45 +02:00
options.modules.programs.yazi = {enable = mkEnableOption "yazi";};
2024-04-14 10:03:43 +02:00
config = mkIf cfg.enable {
home-manager.users.${username} = {
programs.yazi = {
enable = true;
enableZshIntegration = true;
};
2024-04-14 10:03:43 +02:00
};
};
2024-04-14 10:03:43 +02:00
}