From 8110cae57e1e82a38bda2b6bfb1c3db4b2d1674b Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Sun, 2 Jun 2024 14:15:56 +0200 Subject: bluetooth: init module --- modules/nixos/sils/bluetooth.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 modules/nixos/sils/bluetooth.nix (limited to 'modules/nixos/sils/bluetooth.nix') 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; + }; +} -- cgit v1.3.1