audio: add a condition to dconf option setting

This commit is contained in:
Sandro - 2023-07-03 21:40:16 +02:00
parent 5ac61fadc8
commit 1209819da4
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ in
];
};
system.userActivationScripts.enableZeroconfDiscover.text = ''
system.userActivationScripts.enableZeroconfDiscover.text = lib.mkIf config.services.xserver.enable ''
echo "[org/freedesktop/pulseaudio/module-groups/zeroconf-discover]
args0=''\''
enabled=true