mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 21:01:34 +01:00
13 lines
311 B
Nix
13 lines
311 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;
|
|
};
|
|
}
|