chore: drop mpd
This commit is contained in:
@@ -10,7 +10,6 @@ lib.my.makeSwitch {
|
|||||||
config' = {
|
config' = {
|
||||||
my.cli.media = {
|
my.cli.media = {
|
||||||
go-musicfox.enable = true;
|
go-musicfox.enable = true;
|
||||||
mpd.enable = true;
|
|
||||||
ffmpeg.enable = true;
|
ffmpeg.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -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"
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user