feat: update home-manager configuration

This commit is contained in:
Zhongheng Liu 2025-04-13 13:32:53 +03:00
commit b487953311
Signed by: steven
GPG key ID: 805A28B071DAD84B
18 changed files with 232 additions and 219 deletions

View file

@ -6,24 +6,11 @@ lib.mkIf config.usingMusicPlayerDaemon {
network.listenAddress = "any";
network.port = 6600;
extraConfig = ''
audio_output {
type "pipewire"
name "my pipewire output"
}
audio_output {
type "httpd"
name "My HTTP Stream"
encoder "vorbis" # optional, vorbis or lame
port "8000"
# bind_to_address "0.0.0.0" # optional, IPv4 or IPv6
quality "5.0" # do not define if bitrate is defined
# bitrate "128" # do not define if quality is defined
format "44100:16:1"
max_clients "5" # optional 0=no limit
}
audio_output {
type "pipewire"
name "my pipewire output"
}
'';
};
services.mpd-mpris = {
enable = true;
};
services.mpd-mpris = { enable = true; };
}