mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-29 05:41:52 +02:00
35 lines
488 B
Nix
35 lines
488 B
Nix
{ pkgs
|
|
, config
|
|
, ...
|
|
}:
|
|
# media - control and enjoy audio/video
|
|
{
|
|
home.packages = with pkgs; [
|
|
# audio control
|
|
pavucontrol
|
|
playerctl
|
|
pulsemixer
|
|
imv # simple image viewer
|
|
|
|
nvtop
|
|
|
|
# video/audio tools
|
|
libva-utils
|
|
vdpauinfo
|
|
vulkan-tools
|
|
glxinfo
|
|
];
|
|
|
|
programs = {
|
|
mpv = {
|
|
enable = true;
|
|
defaultProfiles = [ "gpu-hq" ];
|
|
scripts = [ pkgs.mpvScripts.mpris ];
|
|
};
|
|
};
|
|
|
|
services = {
|
|
playerctld.enable = true;
|
|
};
|
|
}
|