Add yazi
This commit is contained in:
parent
fa19b3c3aa
commit
5777514467
3 changed files with 20 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
||||||
vesktop.enable = true;
|
vesktop.enable = true;
|
||||||
btop.enable = true;
|
btop.enable = true;
|
||||||
mpv.enable = true;
|
mpv.enable = true;
|
||||||
|
yazi.enable = true;
|
||||||
|
|
||||||
zsh = {
|
zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -5,5 +5,6 @@ _: {
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
# ./newsboat.nix
|
# ./newsboat.nix
|
||||||
./ncmpcpp.nix
|
./ncmpcpp.nix
|
||||||
|
./yazi.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
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