From 16c0b7ce0cf0a6286554a3bbe60c636871fb75c9 Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 18 Aug 2025 15:40:09 -0400 Subject: initial commit --- mpd.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 mpd.nix (limited to 'mpd.nix') diff --git a/mpd.nix b/mpd.nix new file mode 100644 index 0000000..fa8f5e6 --- /dev/null +++ b/mpd.nix @@ -0,0 +1,12 @@ +{ config, pkgs, ... }: +{ + services.mpd = { + enable = true; + musicDirectory = "${config.home.homeDirectory}/Music"; + playlistDirectory = "${config.home.homeDirectory}/.playlists"; + extraConfig = '' + auto_update "yes" + restore_paused "yes" + ''; + }; +} -- cgit v1.3.1