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

16 lines
388 B
Nix
Raw Permalink 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" ];
environment.persistence."/persist".directories = [ "/var/lib/bluetooth" ];
};
2024-08-24 22:16:51 -04:00
}