chore: drop mpd

This commit is contained in:
2025-11-02 09:51:44 +08:00
parent 73e490f523
commit 4f77ac9385
3 changed files with 0 additions and 54 deletions

View File

@@ -10,7 +10,6 @@ lib.my.makeSwitch {
config' = {
my.cli.media = {
go-musicfox.enable = true;
mpd.enable = true;
ffmpeg.enable = true;
};
};

View File

@@ -1,28 +0,0 @@
{
config,
lib,
pkgs,
...
}:
lib.my.makeSwitch {
inherit config;
optionName = "mpd";
optionPath = [
"cli"
"media"
"mpd"
];
config' = {
my.hm = {
home.packages = with pkgs.stable; [
mpd
mpc-cli
];
services.mpris-proxy.enable = true;
xdg.configFile."mpd/mpd.conf".source = ./mpd.conf;
};
my.persist.homeFiles = [
".config/mpd/mpd.db"
];
};
}

View File

@@ -1,25 +0,0 @@
bind_to_address "127.0.0.1"
port "6600"
music_directory "/home/imxyy/Music/go-musicfox/.cache"
pid_file "/home/imxyy/.config/mpd/mpd.pid"
db_file "/home/imxyy/.config/mpd/mpd.db"
input {
plugin "file"
enabled "yes"
}
input {
plugin "curl"
enabled "yes"
}
decoder {
plugin "ffmpeg"
enabled "yes"
}
audio_output {
type "pipewire"
name "pipewire"
}