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

18 lines
354 B
Nix
Raw Normal View History

2024-10-09 03:36:08 -04:00
{ ... }:
{
2024-08-24 22:16:51 -04:00
hardware.bluetooth = {
enable = true;
settings = {
General.Experimental = "true";
Policy.AutoEnable = "true";
};
};
2024-10-09 03:36:08 -04:00
# Lingering helps keep headphones connected
2024-08-24 22:16:51 -04:00
systemd.tmpfiles.rules = [
"f /var/lib/systemd/linger/jimbo"
];
environment.persistence."/persist".directories = [ "/var/lib/bluetooth" ];
2024-08-24 22:16:51 -04:00
}