This commit is contained in:
LarsZauberer 2024-04-14 10:03:43 +02:00
commit 56a56859d5
3 changed files with 20 additions and 0 deletions

View file

@ -22,6 +22,7 @@
vesktop.enable = true;
btop.enable = true;
mpv.enable = true;
yazi.enable = true;
zsh = {
enable = true;

View file

@ -5,5 +5,6 @@ _: {
./neovim.nix
# ./newsboat.nix
./ncmpcpp.nix
./yazi.nix
];
}

18
modules/tui/yazi.nix Normal file
View 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;
};
};
};
}