about summary refs log tree commit diff
path: root/modules/persistence/bluetooth/default.nix
blob: 0f3bc085234193e6f5fa3761ef1db342d01120c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
{ 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"
    ];
  };
}