From f3918b4bc39b95915c2dac471f16b11a2b891e28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 20 Feb 2021 13:14:54 +0100 Subject: [PATCH] nixos/pipewire: only enable media-session if pipewire is enabled --- .../services/desktops/pipewire/pipewire-media-session.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/desktops/pipewire/pipewire-media-session.nix b/nixos/modules/services/desktops/pipewire/pipewire-media-session.nix index 168cf13a88cb..81f4762e1e60 100644 --- a/nixos/modules/services/desktops/pipewire/pipewire-media-session.nix +++ b/nixos/modules/services/desktops/pipewire/pipewire-media-session.nix @@ -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"; };