hardware/bluetooth.nix: configure powerOnBoot properly

This commit is contained in:
Bloxx12 2025-04-09 15:31:18 +02:00
commit 2836770da9

View file

@ -11,7 +11,7 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
hardware.bluetooth = { hardware.bluetooth = {
enable = true; enable = true;
powerOnBoot = mkIf cfg.powerOnBoot true; inherit (cfg) powerOnBoot;
}; };
environment.systemPackages = builtins.attrValues { environment.systemPackages = builtins.attrValues {
inherit inherit