[roles] No config change unless enabled

This commit is contained in:
2024-10-05 18:17:42 -07:00
parent 1a857399a6
commit ff3a0a4738
8 changed files with 58 additions and 48 deletions

View File

@@ -10,7 +10,7 @@ in
enable = mkEnableOption "Enable the bluetooth role";
};
config =
config = mkIf cfg.enable
{
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;