This commit is contained in:
Jan Bulthuis committed 2024-09-02 20:03:39 +02:00
1 parent b921c2ac47
commit 8ea644f665
18 files changed
+250 -22

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.modules.bluetooth;
in
{
options.modules.bluetooth = {
enable = mkEnableOption "bluetooth";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ bluez ];
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
};
}