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