about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-16 17:45:20 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-16 17:45:20 -0700
commit9d72ffae25122617f9b0faec214360f91af39a57 (patch)
tree886e418b529091bc84e83d97b17d842733050775
parentalacritty: better colors (diff)
downloadworld-9d72ffae25122617f9b0faec214360f91af39a57.tar.gz
bluetooh: enable on aptos
-rw-r--r--home/bluetooth/default.nix10
-rw-r--r--home/default.nix1
-rw-r--r--hosts/aptos/home.nix1
3 files changed, 12 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
diff --git a/hosts/aptos/home.nix b/hosts/aptos/home.nix
index b3c226f..d7a6545 100644
--- a/hosts/aptos/home.nix
+++ b/hosts/aptos/home.nix
@@ -1,6 +1,7 @@
 { pkgs, ... }: {
   my.home = {
     packages.enable = true;
+    bluetooth.enable = true;
     element.enable = true;
     zsh.enable = true;
     git.enable = true;