NixOS-Config/modules/system/devices/bluetooth/default.nix

17 lines
389 B
Nix
Raw Normal View History

{ lib, config, ... }:
2024-10-09 03:36:08 -04:00
{
config = lib.mkIf config.system.desktop.enable {
hardware.bluetooth = {
enable = true;
settings = {
General.Experimental = "true";
Policy.AutoEnable = "true";
};
2024-08-24 22:16:51 -04:00
};
systemd.tmpfiles.rules = [ "f /var/lib/systemd/linger/jimbo" ];
2024-12-09 23:07:20 -05:00
environment.persistence."/persist".directories = [ "/var/lib/bluetooth" ];
};
2024-08-24 22:16:51 -04:00
}