Added yazi
This commit is contained in:
@@ -88,6 +88,7 @@ in
|
|||||||
app.spotify.enable = true;
|
app.spotify.enable = true;
|
||||||
app.skype.enable = true;
|
app.skype.enable = true;
|
||||||
app.nextcloud.enable = true;
|
app.nextcloud.enable = true;
|
||||||
|
app.yazi.enable = true;
|
||||||
|
|
||||||
# - Gaming -----------------------------------
|
# - Gaming -----------------------------------
|
||||||
gaming.lutris.enable = true;
|
gaming.lutris.enable = true;
|
||||||
|
|||||||
34
modules/app/yazi.nix
Normal file
34
modules/app/yazi.nix
Normal 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" ]; })
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user