- Update nixpkgs and home-manager to 25.11 release - Update flake dependencies - Migrate git config to settings attribute - Replace deprecated packages (mpc-cli -> mpc, vaapiIntel -> intel-vaapi-driver) - Fix system references to use stdenv.hostPlatform.system - Add crowdsec module overrides - Remove android-udev-rules from fuchsia - Configure SSH with enableDefaultConfig = false - Update zsh dotDir to use config.xdg.configHome
28 lines
584 B
Nix
28 lines
584 B
Nix
{pkgs, ...}: {
|
|
|
|
# Install some applications for managing mpd
|
|
home.packages = with pkgs; [
|
|
mpc
|
|
ncmpcpp
|
|
];
|
|
|
|
# Setup our mpd client service
|
|
services.mpd = {
|
|
enable = true;
|
|
musicDirectory = "nfs://viridian.home.arpa/srv/multimedia/library/music";
|
|
dbFile = null;
|
|
extraConfig = ''
|
|
database {
|
|
plugin "proxy"
|
|
host "viridian.home.arpa"
|
|
port "6600"
|
|
}
|
|
|
|
audio_output {
|
|
type "pipewire"
|
|
name "pipewire server"
|
|
server "127.0.0.1" # MPD must connect to the local sound server
|
|
}
|
|
'';
|
|
};
|
|
}
|