18 lines
373 B
Nix
18 lines
373 B
Nix
{ config, lib, user, ... }:
|
|
let
|
|
inherit (lib.modules) mkIf;
|
|
inherit (lib.options) mkEnableOption;
|
|
|
|
cfg = config.modules.${user}.shell.toolset.yazi;
|
|
in
|
|
{
|
|
options.modules.${user}.shell.toolset.yazi = {
|
|
enable = mkEnableOption "system-monitor";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
home-manager.users.${user}.programs.yazi = {
|
|
enable = true;
|
|
};
|
|
};
|
|
}
|