more work
This commit is contained in:
parent
423e99886d
commit
a03240d99d
36 changed files with 843 additions and 842 deletions
20
modules/home/shell/toolset/yazi.nix
Normal file
20
modules/home/shell/toolset/yazi.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ config, lib, pkgs, user, ... }:
|
||||
let
|
||||
inherit (lib.${namespace}) mkIf;
|
||||
inherit (lib.options) mkEnableOption;
|
||||
|
||||
cfg = config.${namespace}.shell.toolset.yazi;
|
||||
in
|
||||
{
|
||||
options.${namespace}.shell.toolset.yazi = {
|
||||
enable = mkEnableOption "cli file browser";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [ yazi ];
|
||||
|
||||
programs.yazi = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue