2023-10-21 20:46:17 +00:00
|
|
|
{
|
|
|
|
flake,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
psCfg = config.pub-solar;
|
|
|
|
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
|
|
|
|
in {
|
2024-09-12 11:58:32 +00:00
|
|
|
age.secrets."rclone-pubsolar.conf" = {
|
|
|
|
file = "${flake.self}/secrets/rclone-pubsolar.conf.age";
|
2023-10-21 20:46:17 +00:00
|
|
|
path = "/root/.config/rclone/rclone.conf";
|
2023-11-12 17:19:07 +00:00
|
|
|
mode = "400";
|
2023-10-21 20:46:17 +00:00
|
|
|
};
|
|
|
|
|
2023-11-05 17:56:11 +00:00
|
|
|
age.secrets."restic-password" = {
|
2023-10-21 20:46:17 +00:00
|
|
|
file = "${flake.self}/secrets/restic-password.age";
|
2023-11-12 17:19:07 +00:00
|
|
|
mode = "400";
|
2023-10-21 20:46:17 +00:00
|
|
|
};
|
|
|
|
}
|