22 lines
422 B
Nix
22 lines
422 B
Nix
{
|
|
flake,
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: let
|
|
psCfg = config.pub-solar;
|
|
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
|
|
in {
|
|
age.secrets."rclone-pie.conf" = {
|
|
file = "${flake.self}/secrets/rclone-pie.conf.age";
|
|
path = "/root/.config/rclone/rclone.conf";
|
|
mode = "400";
|
|
};
|
|
|
|
age.secrets."restic-password" = {
|
|
file = "${flake.self}/secrets/restic-password.age";
|
|
mode = "400";
|
|
};
|
|
}
|