diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-11-18 13:56:44 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-02-08 13:46:21 +0000 |
commit | 56eb9b118ccc94e2c41d33bffa0c902610818bd6 (patch) | |
tree | 0b4d09a3aca17c96a0597b590e2577986e572d25 /modules/persistence/bluetooth | |
parent | 04a6a4160e143445c5df14f101a0c1e27118229f (diff) | |
download | nixlib-56eb9b118ccc94e2c41d33bffa0c902610818bd6.tar nixlib-56eb9b118ccc94e2c41d33bffa0c902610818bd6.tar.gz nixlib-56eb9b118ccc94e2c41d33bffa0c902610818bd6.tar.bz2 nixlib-56eb9b118ccc94e2c41d33bffa0c902610818bd6.tar.lz nixlib-56eb9b118ccc94e2c41d33bffa0c902610818bd6.tar.xz nixlib-56eb9b118ccc94e2c41d33bffa0c902610818bd6.tar.zst nixlib-56eb9b118ccc94e2c41d33bffa0c902610818bd6.zip |
modules/persistence: init
These are separated from the main configurations for these services because not all systems use this setup.
Diffstat (limited to 'modules/persistence/bluetooth')
-rw-r--r-- | modules/persistence/bluetooth/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/persistence/bluetooth/default.nix b/modules/persistence/bluetooth/default.nix new file mode 100644 index 000000000000..0f3bc0852341 --- /dev/null +++ b/modules/persistence/bluetooth/default.nix @@ -0,0 +1,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" + ]; + }; +} |