mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-04 10:43:53 +00:00
20 lines
408 B
Nix
20 lines
408 B
Nix
{ pkgs, lib, config, True, ... }:
|
|
|
|
with lib;
|
|
|
|
let cfg = config.module.hardware.bluetooth;
|
|
in {
|
|
options = { module.hardware.bluetooth = { enable = mkEnableOption ""; }; };
|
|
|
|
config = mkIf cfg.enable {
|
|
hardware.bluetooth = True // { # BLUETOOTH LOL
|
|
powerOnBoot = true;
|
|
};
|
|
environment.systemPackages = with pkgs; [ # TUI FOR BLUETOOTH
|
|
bluetuith
|
|
bluetooth_battery
|
|
];
|
|
};
|
|
}
|
|
|