b12f restructure #1
|
@ -23,6 +23,7 @@ in
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
wayvnc
|
wayvnc
|
||||||
|
drone-docker-runner
|
||||||
];
|
];
|
||||||
|
|
||||||
age.secrets."vnc-key.pem" = {
|
age.secrets."vnc-key.pem" = {
|
||||||
|
|
|
@ -2,11 +2,16 @@
|
||||||
let
|
let
|
||||||
psCfg = config.pub-solar;
|
psCfg = config.pub-solar;
|
||||||
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
|
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
|
||||||
|
DRONE_RPC_PROTO = "https";
|
||||||
|
DRONE_RPC_HOST = "ci.b12f.io";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home-manager = pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] {
|
home-manager = pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] {
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
DRONE_SERVER = "https://ci.b12f.io";
|
inherit DRONE_RPC_HOST;
|
||||||
|
inherit DRONE_RPC_PROTO;
|
||||||
|
DRONE_SERVER = DRONE_RPC_PROTO + "://" + DRONE_RPC_HOST;
|
||||||
|
|
||||||
RESTIC_REPOSITORY = "sftp:root@backup.b12f.io:/media/internal/backups";
|
RESTIC_REPOSITORY = "sftp:root@backup.b12f.io:/media/internal/backups";
|
||||||
RESTIC_PASSWORD_COMMAND = "secret-tool lookup restic repository-password";
|
RESTIC_PASSWORD_COMMAND = "secret-tool lookup restic repository-password";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue