Merge pull request #108541 from MetaDark/nixos/pipewire
nixos/pipewire: improve assertion messages
This commit is contained in:
commit
70f5ea8836
|
@ -93,11 +93,11 @@ in {
|
||||||
assertions = [
|
assertions = [
|
||||||
{
|
{
|
||||||
assertion = cfg.pulse.enable -> !config.hardware.pulseaudio.enable;
|
assertion = cfg.pulse.enable -> !config.hardware.pulseaudio.enable;
|
||||||
message = "PipeWire based PulseAudio server emulation replaces PulseAudio";
|
message = "PipeWire based PulseAudio server emulation replaces PulseAudio. This option requires `hardware.pulseaudio.enable` to be set to false";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
assertion = cfg.jack.enable -> !config.services.jack.jackd.enable;
|
assertion = cfg.jack.enable -> !config.services.jack.jackd.enable;
|
||||||
message = "PipeWire based JACK emulation doesn't use the JACK service";
|
message = "PipeWire based JACK emulation doesn't use the JACK service. This option requires `services.jack.jackd.enable` to be set to false";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue