home: add bluetooth
This commit is contained in:
parent
0c8eea0fb4
commit
91954e9a02
19
home/bluetooth.nix
Normal file
19
home/bluetooth.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
./bat.nix
|
||||
./bluetooth.nix
|
||||
./direnv.nix
|
||||
./documentation.nix
|
||||
./firefox
|
||||
|
|
Loading…
Reference in a new issue