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