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";
|
||
|
path = "/root/.config/rclone/rclone.conf";
|
||
|
mode = "600";
|
||
|
};
|
||
|
|
||
|
age.secrets."restic-password.age" = {
|
||
|
file = "${flake.self}/secrets/restic-password.age";
|
||
|
mode = "600";
|
||
|
};
|
||
|
}
|