26 lines
495 B
Nix
Raw Normal View History

2025-07-07 15:39:59 +03:00
{ config, lib, ... }:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.ataraxia.defaults.bluetooth;
in
{
options.ataraxia.defaults.bluetooth = {
enable = mkEnableOption "Default bluetooth settings";
};
config = mkIf cfg.enable {
services.blueman.enable = true;
hardware.bluetooth = {
enable = true;
settings = {
General = {
Experimental = true;
};
};
};
persist.state.directories = [ "/var/lib/bluetooth" ];
};
}