mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-02-22 12:55:13 +08:00
chore(mpd): stable isn't this far yet
This commit is contained in:
parent
817a83119f
commit
1b640675b3
1 changed files with 10 additions and 12 deletions
|
|
@ -14,19 +14,17 @@
|
||||||
|
|
||||||
services.mpd = {
|
services.mpd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
playlistDirectory = "/home/${username}/Music/.playlists";
|
||||||
playlist_directory = "/home/${username}/Music/.playlists";
|
musicDirectory = "/home/${username}/Music";
|
||||||
music_directory = "/home/${username}/Music";
|
extraConfig = ''
|
||||||
restore_paused = "yes";
|
restore_paused "yes"
|
||||||
auto_update = "yes";
|
auto_update "yes"
|
||||||
|
|
||||||
audio_output = [
|
audio_output {
|
||||||
{
|
type "pipewire"
|
||||||
type = "pipewire";
|
name "pipewire"
|
||||||
name = "pipewire";
|
}
|
||||||
}
|
'';
|
||||||
];
|
|
||||||
};
|
|
||||||
user = "${username}"; # PipeWire requires this as it runs as the normal user and mpd normally runs as a system user.
|
user = "${username}"; # PipeWire requires this as it runs as the normal user and mpd normally runs as a system user.
|
||||||
|
|
||||||
# Optional:
|
# Optional:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue