reorganization
This commit is contained in:
parent
2ad77494b2
commit
b6afba390b
24 changed files with 144 additions and 128 deletions
|
|
@ -6,11 +6,15 @@ let
|
|||
in {
|
||||
options.modules.hardware.bluetooth = {
|
||||
enable = mkEnableOption "Enable bluetooth, a short-range communication technology";
|
||||
powerOnBoot = mkEnableOption {
|
||||
default = !config.modules.core.laptop;
|
||||
description = "Power up bluetooth devices on boot";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.powerOnBoot = true;
|
||||
hardware.bluetooth.powerOnBoot = cfg.powerOnBoot;
|
||||
hardware.bluetooth.settings = {
|
||||
General = {
|
||||
Experimental = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue