diff options
| author | Silas Schöffel <sils@sils.li> | 2024-06-02 14:15:56 +0200 |
|---|---|---|
| committer | Silas Schöffel <sils@sils.li> | 2024-06-02 14:15:56 +0200 |
| commit | 8110cae57e1e82a38bda2b6bfb1c3db4b2d1674b (patch) | |
| tree | 678522f7f00ee8524ab8f9bdfe0e6a1e4c0ad73a /modules/nixos/sils/bluetooth.nix | |
| parent | git: init module (diff) | |
| download | nix-config-8110cae57e1e82a38bda2b6bfb1c3db4b2d1674b.zip | |
bluetooth: init module
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; + }; +} |
