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