mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-29 13:51:50 +02:00
45 lines
785 B
Nix
45 lines
785 B
Nix
{
|
|
pkgs,
|
|
catppuccin-cava,
|
|
nur-ryan4yin,
|
|
...
|
|
}:
|
|
# media - control and enjoy audio/video
|
|
{
|
|
home.packages = with pkgs; [
|
|
# audio control
|
|
pavucontrol
|
|
playerctl
|
|
pulsemixer
|
|
imv # simple image viewer
|
|
|
|
nvtop
|
|
|
|
# video/audio tools
|
|
cava # for visualizing audio
|
|
libva-utils
|
|
vdpauinfo
|
|
vulkan-tools
|
|
glxinfo
|
|
|
|
nur-ryan4yin.packages.${pkgs.system}.yazi # terminal file manager
|
|
];
|
|
|
|
# https://github.com/catppuccin/cava
|
|
home.file.".config/cava/config".text = ''
|
|
# custom cava config
|
|
'' + builtins.readFile "${catppuccin-cava}/mocha.cava";
|
|
|
|
programs = {
|
|
mpv = {
|
|
enable = true;
|
|
defaultProfiles = ["gpu-hq"];
|
|
scripts = [pkgs.mpvScripts.mpris];
|
|
};
|
|
};
|
|
|
|
services = {
|
|
playerctld.enable = true;
|
|
};
|
|
}
|