blob: a803c55abca0cea1e9ce3362a354abf7ce0d0fa4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{ config, lib, ... }:
let
cfg = config.os.srv.bluetooth;
in
{
options.os.srv.bluetooth.enable = lib.mkEnableOption "enables bluetooth support";
config = lib.mkIf cfg.enable {
services.blueman.enable = true;
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
};
};
}
|