18 lines
295 B
Nix
18 lines
295 B
Nix
{ config, lib, pkgs, self, ... }:
|
|
|
|
let
|
|
cfg = config.samfelag.modules.bluetooth;
|
|
in
|
|
{
|
|
options.samfelag.modules.bluetooth = {
|
|
enable = lib.mkEnableOption "bluetooth";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
hardware.bluetooth.enable = true;
|
|
services.blueman.enable = true;
|
|
|
|
};
|
|
}
|