feat(nixos): add bluetooth module

This commit is contained in:
Mohammad Rafiq 2025-07-07 18:44:24 +08:00
parent ce83834ef4
commit e097d3e688
No known key found for this signature in database

View file

@ -0,0 +1,16 @@
{ lib, ... }:
let
inherit (lib.options) mkEnableOption;
in
{
flake.modules.nixos.default = {
options.bluetooth.enable = mkEnableOption "";
config = {
persistDirs = [ "/var/lib/bluetooth" ];
hardware.bluetooth = {
enable = true;
settings.General.Experimental = true;
};
};
};
}