fix(template): use structured settings for MPD audio output
Replace deprecated extraConfig with settings.audio_output
This commit is contained in:
parent
981393443b
commit
adf2d24b60
1 changed files with 5 additions and 5 deletions
|
|
@ -46,12 +46,12 @@
|
|||
musicDirectory = "/etc/demo-music";
|
||||
user = "appvm";
|
||||
group = "appvm";
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "Pipewire Output"
|
||||
settings.audio_output = [
|
||||
{
|
||||
type = "pipewire";
|
||||
name = "Pipewire Output";
|
||||
}
|
||||
'';
|
||||
];
|
||||
};
|
||||
environment.etc."demo-music/0101GhostsI.ogg".source = pkgs.fetchurl {
|
||||
# just a CC-BY-SA licensed example
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue