2022-12-15 14:33:39 +00:00
|
|
|
{config, ...}: let
|
2024-03-10 17:26:18 +00:00
|
|
|
inherit (config.services.secrets) secrets;
|
2022-12-15 14:33:39 +00:00
|
|
|
in {
|
|
|
|
systemd.tmpfiles.rules = [
|
|
|
|
"d /root/.config - root root"
|
|
|
|
"d /root/.config/rclone - root root"
|
|
|
|
"L /root/.config/rclone/rclone.conf - - - - ${secrets.rclone_config.path}"
|
|
|
|
|
|
|
|
"d /home/storage/.config - storage storage"
|
|
|
|
"d /home/storage/.config/rclone - storage storage"
|
|
|
|
"L /home/storage/.config/rclone/rclone.conf - - - - ${secrets.rclone_config.path}"
|
|
|
|
];
|
|
|
|
}
|