mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 10:36:34 +01:00
13 lines
277 B
Nix
13 lines
277 B
Nix
{ config, lib, ... }:
|
|
|
|
let cfg = config.jopejoe1.bluetooth;
|
|
in {
|
|
options.jopejoe1.bluetooth = {
|
|
enable = lib.mkEnableOption "Enable Bluetooth";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
hardware.bluetooth.enable = true;
|
|
hardware.bluetooth.powerOnBoot = true;
|
|
};
|
|
}
|