{ config, lib, ... }: { config = lib.mkIf config.hardware.bluetooth.enable { systemd.tmpfiles.rules = [ "d /persist/safe/var/lib/bluetooth 0700" "L+ /var/lib/bluetooth - - - - /persist/safe/var/lib/bluetooth" ]; }; }