home: add bluetooth
This commit is contained in:
parent
8837c7c33c
commit
b4d002033a
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