nixos/home/media.nix

25 lines
431 B
Nix

{ config, lib, pkgs, ... }:
{
home.packages = with pkgs; [ mpc-cli spot ];
services.mpd = {
enable = true;
network.startWhenNeeded = true;
};
programs = {
mpv = {
enable = true;
scripts = with pkgs.mpvScripts; [
mpris
autoload
thumbfast
thumbnail
sponsorblock
quality-menu
webtorrent-mpv-hook
];
};
ncspot.enable = true;
};
}