1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-09 19:23:52 +00:00
ultima/modules/home/programs/cli/yazi/default.nix
2024-12-20 22:10:11 +09:00

21 lines
247 B
Nix

{
x,
lib,
config,
...
}:
with lib;
with x;
let
cfg = config.module.programs.cli.yazi;
in
{
options = {
module.programs.cli.yazi = {
enable = mkBool;
};
};
config = mkIf cfg.enable { programs.yazi = True // { }; };
}