about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/bluetooth/default.nix10
-rw-r--r--home/default.nix1
2 files changed, 11 insertions, 0 deletions
diff --git a/home/bluetooth/default.nix b/home/bluetooth/default.nix
new file mode 100644
index 0000000..51ecc4a
--- /dev/null
+++ b/home/bluetooth/default.nix
@@ -0,0 +1,10 @@
+{ config, lib, ... }:
+let cfg = config.my.home.bluetooth;
+in {
+  options.my.home.bluetooth = with lib; {
+    enable = mkEnableOption "bluetooth configuration";
+  };
+
+  config =
+    lib.mkIf cfg.enable { services.blueman-applet = { enable = true; }; };
+}
diff --git a/home/default.nix b/home/default.nix
index 435baed..9d32671 100644
--- a/home/default.nix
+++ b/home/default.nix
@@ -3,6 +3,7 @@
 {
   imports = [
     ./beets
+    ./bluetooth
     ./direnv
     ./documentation
     ./drone-cli