nixos/pipewire: only enable media-session if pipewire is enabled

This commit is contained in:
Jörg Thalheim 2021-02-20 13:14:54 +01:00
parent e59a33db58
commit f3918b4bc3
No known key found for this signature in database
GPG Key ID: B3F5D81B0C6967C4

View File

@ -37,7 +37,8 @@ in {
services.pipewire.media-session = {
enable = mkOption {
type = types.bool;
default = true;
default = config.services.pipewire.enable;
defaultText = "config.services.pipewire.enable";
description = "Example pipewire session manager";
};