aboutsummaryrefslogtreecommitdiff
path: root/modules/services/system/bluetooth.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services/system/bluetooth.nix')
-rw-r--r--modules/services/system/bluetooth.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/services/system/bluetooth.nix b/modules/services/system/bluetooth.nix
new file mode 100644
index 0000000..a0c3f86
--- /dev/null
+++ b/modules/services/system/bluetooth.nix
@@ -0,0 +1,16 @@
+{
+ pkgs,
+ lib,
+ config,
+ ...
+}: let
+ cfg = config.collinux.services.bluetooth;
+in
+ lib.mkIf cfg.enable {
+ hardware.bluetooth = {
+ enable = true;
+ powerOnBoot = true;
+ };
+
+ environment.systemPackages = [pkgs.blueman];
+ }