Added working example

This commit is contained in:
2026-03-21 20:01:50 +00:00
parent 73284fa1da
commit 8ab9d28526
25 changed files with 1493 additions and 0 deletions
@@ -0,0 +1,18 @@
{ ... }:
{
flake.nixosModules.bluetooth = { config, lib, pkgs, ... }:
let
cfg = config.mySystem.hardware.bluetooth;
in {
options.mySystem.hardware.bluetooth.enable = lib.mkEnableOption "Bluetooth Support";
config = lib.mkIf cfg.enable {
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
environment.systemPackages = [
pkgs.bluetui
];
};
};
}