Added yazi

This commit is contained in:
marc
2024-11-23 13:05:18 +01:00
parent 7cbf3cb37b
commit 0584a50f5f
2 changed files with 35 additions and 0 deletions

View File

@@ -88,6 +88,7 @@ in
app.spotify.enable = true;
app.skype.enable = true;
app.nextcloud.enable = true;
app.yazi.enable = true;
# - Gaming -----------------------------------
gaming.lutris.enable = true;

34
modules/app/yazi.nix Normal file
View File

@@ -0,0 +1,34 @@
{ config, lib, pkgs, ... }:
let
cfg = config.samfelag.modules.app.yazi;
in
{
options.samfelag.modules.app.yazi = {
enable = lib.mkEnableOption "yazi";
};
config = lib.mkIf cfg.enable {
hm.home.packages = with pkgs; [
yazi
ffmpeg
ffmpegthumbnailer
jq
poppler
fd
ripgrep
fzf
zoxide
imagemagick
wl-clipboard
];
fonts.fontconfig.enable = true;
fonts.packages = with pkgs; [
iosevka
(nerdfonts.override { fonts = [ "Iosevka" ]; })
];
};
}