diff --git a/home/bluetooth.nix b/home/bluetooth.nix new file mode 100644 index 0000000..2a4f613 --- /dev/null +++ b/home/bluetooth.nix @@ -0,0 +1,19 @@ +{ 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; + }; + + services.mpris-proxy = { + enable = true; + }; + }; +} diff --git a/home/default.nix b/home/default.nix index 91a6e51..7c5e807 100644 --- a/home/default.nix +++ b/home/default.nix @@ -2,6 +2,7 @@ { imports = [ ./bat.nix + ./bluetooth.nix ./direnv.nix ./documentation.nix ./firefox