Add yazi
This commit is contained in:
parent
e258d6417b
commit
4c8ea011b8
3 changed files with 20 additions and 0 deletions
18
modules/tui/yazi.nix
Normal file
18
modules/tui/yazi.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, lib, ... }:
|
||||
with lib; let
|
||||
cfg = config.modules.programs.yazi;
|
||||
username = config.modules.other.system.username;
|
||||
in {
|
||||
options.modules.programs.yazi = {
|
||||
enable = mkEnableOption "yazi";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.${username} = {
|
||||
programs.yazi = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue