mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-22 01:19:45 +01:00
36 lines
488 B
Nix
36 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;
|
|
};
|
|
}
|