aaaaaaaaaaaaaaaaaaaaa
This commit is contained in:
parent
c81213a02b
commit
689a0cdfa8
3 changed files with 13 additions and 24 deletions
|
|
@ -2,23 +2,10 @@
|
|||
|
||||
let
|
||||
cfg = config.modules.yazi;
|
||||
optional-packages = lib.mkIf cfg.optional-programs (with pkgs; [
|
||||
ffmpeg_7
|
||||
p7zip
|
||||
jq
|
||||
poppler
|
||||
fd
|
||||
ripgrep
|
||||
fzf
|
||||
zoxide
|
||||
resvg
|
||||
imagemagick
|
||||
]);
|
||||
in
|
||||
{
|
||||
options.modules.yazi = {
|
||||
enable = lib.mkEnableOption "Enable Yazi file manager";
|
||||
optional-programs = lib.mkEnableOption "Enable optional extra packages";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
@ -29,6 +16,16 @@ in
|
|||
environment.systemPackages = with pkgs; [
|
||||
nerd-fonts.ubuntu
|
||||
nerd-fonts.ubuntu-mono
|
||||
] ++ optional-packages;
|
||||
ffmpeg_7
|
||||
p7zip
|
||||
jq
|
||||
poppler
|
||||
fd
|
||||
ripgrep
|
||||
fzf
|
||||
zoxide
|
||||
resvg
|
||||
imagemagick
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue