mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 19:23:52 +00:00
21 lines
247 B
Nix
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 // { }; };
|
|
}
|