Files
DCGOS/modules/drivers/bluetooth.nix
2025-12-01 16:43:53 +08:00

17 lines
324 B
Nix

{
hostname,
lib,
...
}: let
inherit (import ../../hosts/${hostname}/env.nix) Bluetooth;
in
with lib; {
config = mkIf Bluetooth {
hardware.bluetooth = {
enable = lib.mkDefault true;
powerOnBoot = lib.mkDefault false;
};
services.blueman.enable = lib.mkDefault true;
};
}