summaryrefslogtreecommitdiff
path: root/system/bluetooth.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/bluetooth.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/bluetooth.nix b/system/bluetooth.nix
new file mode 100644
index 0000000..2015eb6
--- /dev/null
+++ b/system/bluetooth.nix
@@ -0,0 +1,12 @@
+{
+ lib,
+ config,
+ ...
+}: let
+ inherit (lib) mkIf;
+in {
+ config = mkIf config.bluetooth {
+ hardware.bluetooth.enable = true;
+ services.blueman.enable = true;
+ };
+}