Modularize teams sops yazi
This commit is contained in:
parent
7730cbef59
commit
c73cb37278
75 changed files with 3023 additions and 3573 deletions
14
modules/programs/yazi/default.nix
Normal file
14
modules/programs/yazi/default.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ lib, config, options, ... }: {
|
||||
options.mods.yazi = {
|
||||
enable = lib.mkOption {
|
||||
default = true;
|
||||
example = false;
|
||||
type = lib.types.bool;
|
||||
description = "Enables yazi";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf config.mods.yazi.enable
|
||||
(lib.optionalAttrs (options ? home.packages) {
|
||||
programs.yazi = import ./yazi.nix;
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue