From 2836770da92398388f11520ef6d07c210096558a Mon Sep 17 00:00:00 2001 From: Bloxx12 Date: Wed, 9 Apr 2025 15:31:18 +0200 Subject: [PATCH] hardware/bluetooth.nix: configure powerOnBoot properly --- modules/system/hardware/bluetooth.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/hardware/bluetooth.nix b/modules/system/hardware/bluetooth.nix index b882011..81a3255 100644 --- a/modules/system/hardware/bluetooth.nix +++ b/modules/system/hardware/bluetooth.nix @@ -11,7 +11,7 @@ in { config = mkIf cfg.enable { hardware.bluetooth = { enable = true; - powerOnBoot = mkIf cfg.powerOnBoot true; + inherit (cfg) powerOnBoot; }; environment.systemPackages = builtins.attrValues { inherit