2023-01-28 21:27:52 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
2021-05-30 19:33:09 +00:00
|
|
|
psCfg = config.pub-solar;
|
|
|
|
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
|
2022-05-02 21:49:08 +00:00
|
|
|
DRONE_RPC_PROTO = "https";
|
|
|
|
DRONE_RPC_HOST = "ci.b12f.io";
|
2023-01-28 21:27:52 +00:00
|
|
|
in {
|
|
|
|
home-manager = pkgs.lib.setAttrByPath ["users" psCfg.user.name] {
|
2021-05-30 19:33:09 +00:00
|
|
|
home.sessionVariables = {
|
2022-05-02 21:49:08 +00:00
|
|
|
inherit DRONE_RPC_HOST;
|
|
|
|
inherit DRONE_RPC_PROTO;
|
|
|
|
DRONE_SERVER = DRONE_RPC_PROTO + "://" + DRONE_RPC_HOST;
|
|
|
|
|
2021-05-30 19:33:09 +00:00
|
|
|
RESTIC_REPOSITORY = "sftp:root@backup.b12f.io:/media/internal/backups";
|
|
|
|
RESTIC_PASSWORD_COMMAND = "secret-tool lookup restic repository-password";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|