diff --git a/hosts/physical/crow/default.nix b/hosts/physical/crow/default.nix index d57706d..b11c9a9 100644 --- a/hosts/physical/crow/default.nix +++ b/hosts/physical/crow/default.nix @@ -25,4 +25,6 @@ networking.hostName = "crow"; networking.hostId = "0b83186c"; + + services.blueman.enable = true; } diff --git a/hosts/physical/crow/hardware-configuration.nix b/hosts/physical/crow/hardware-configuration.nix index 2231e7a..df48a3b 100644 --- a/hosts/physical/crow/hardware-configuration.nix +++ b/hosts/physical/crow/hardware-configuration.nix @@ -44,4 +44,27 @@ cmakeFlags = (old.cmakeFlags or [ ]) ++ [ "-DUSE_DBUS_MENU=0" ]; }); }; + + # Enable bluetooth + hardware.bluetooth = { + enable = true; + powerOnBoot = true; + settings = { + General = { + # Shows battery charge of connected devices on supported + # Bluetooth adapters. Defaults to 'false'. + Experimental = true; + # When enabled other devices can connect faster to us, however + # the tradeoff is increased power consumption. Defaults to + # 'false'. + FastConnectable = true; + }; + Policy = { + # Enable all controllers when they are found. This includes + # adapters present on start as well as adapters that are plugged + # in later on. Defaults to 'true'. + AutoEnable = true; + }; + }; +}; }