From df2454b2617169f32a3fa719567e34fdb447387b Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Mon, 9 Sep 2024 21:32:24 +0200 Subject: [PATCH] pipewire/module.nix fix cfg option --- modules/system/hardware/sound/default.nix | 1 - modules/system/hardware/sound/pipewire/module.nix | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 modules/system/hardware/sound/default.nix diff --git a/modules/system/hardware/sound/default.nix b/modules/system/hardware/sound/default.nix deleted file mode 100644 index ae2155e..0000000 --- a/modules/system/hardware/sound/default.nix +++ /dev/null @@ -1 +0,0 @@ -_: {imports = [./pipewire];} diff --git a/modules/system/hardware/sound/pipewire/module.nix b/modules/system/hardware/sound/pipewire/module.nix index cabf27e..43a098e 100644 --- a/modules/system/hardware/sound/pipewire/module.nix +++ b/modules/system/hardware/sound/pipewire/module.nix @@ -3,7 +3,7 @@ lib, ... }: let - cfg = config.modules.system.hardware.sound.pipewire; + cfg = config.modules.system.sound; inherit (lib) mkIf; in { config = mkIf cfg.enable {