From 9d72ffae25122617f9b0faec214360f91af39a57 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 16 May 2022 17:45:20 -0700 Subject: bluetooh: enable on aptos --- home/bluetooth/default.nix | 10 ++++++++++ home/default.nix | 1 + hosts/aptos/home.nix | 1 + 3 files changed, 12 insertions(+) create mode 100644 home/bluetooth/default.nix 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; -- cgit 1.4.1