mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
16 lines
324 B
Nix
16 lines
324 B
Nix
{ config, lib, ... }:
|
|
{
|
|
options.custom.bluetooth.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.custom.bluetooth.enable {
|
|
hardware = {
|
|
bluetooth = {
|
|
enable = true;
|
|
powerOnBoot = true;
|
|
};
|
|
logitech.wireless.enable = true;
|
|
};
|
|
|
|
services.blueman.enable = true;
|
|
};
|
|
}
|