diff options
Diffstat (limited to 'modules/nixos/sils/bluetooth.nix')
| -rw-r--r-- | modules/nixos/sils/bluetooth.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/nixos/sils/bluetooth.nix b/modules/nixos/sils/bluetooth.nix new file mode 100644 index 0000000..2d67717 --- /dev/null +++ b/modules/nixos/sils/bluetooth.nix @@ -0,0 +1,12 @@ +{ + config, + lib, + ... +}: let + cfg = config.sils.bluetooth; +in { + options.sils.bluetooth.enable = lib.mkEnableOption "bluetooth"; + config = lib.mkIf cfg.enable { + hardware.bluetooth.enable = true; + }; +} |
