mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-10 09:53:52 +00:00
29 lines
364 B
Nix
29 lines
364 B
Nix
{
|
|
x,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
with lib;
|
|
with x;
|
|
let
|
|
cfg = config.module.programs.cli.yazi;
|
|
in
|
|
{
|
|
options = {
|
|
module.programs.cli.yazi = {
|
|
enable = mkBool;
|
|
};
|
|
};
|
|
|
|
imports = [
|
|
./sets.nix
|
|
./binds.nix
|
|
./theme.nix
|
|
./lua.nix
|
|
./plugins.nix
|
|
./starship.nix
|
|
];
|
|
config = mkIf cfg.enable { programs.yazi = True // { }; };
|
|
}
|