aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;