home: add bluetooth

This commit is contained in:
Bruno BELANYI 2021-05-05 12:54:27 +02:00
parent 0c8eea0fb4
commit 91954e9a02
2 changed files with 20 additions and 0 deletions

19
home/bluetooth.nix Normal file
View file

@ -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;
};
};
}

View file

@ -2,6 +2,7 @@
{
imports = [
./bat.nix
./bluetooth.nix
./direnv.nix
./documentation.nix
./firefox