Remove tierberg
All checks were successful
CI / build (push) Successful in 2m31s

This commit is contained in:
Fabian Hauser 2024-12-23 22:10:41 +02:00
parent a41ec65546
commit e6f9fc1371
15 changed files with 2 additions and 209 deletions

View file

@ -1,42 +0,0 @@
{ config, pkgs, ... }:
let
vnet = config.qois.meta.network.virtual.backplane.hosts;
systemTargets = [
"tierberg"
];
systemJobs = builtins.listToAttrs (
map (backupHost: {
name = "system-${backupHost}";
value = {
repo = "borg@${vnet.${backupHost}.v4.ip}:.";
environment.BORG_RSH = "ssh -i /secrets/backup/system/ssh-key";
paths = [
"/etc"
"/home"
"/var"
"/secrets"
];
exclude = [
"/var/tmp"
"/var/cache"
"/var/lib/atticd"
"/var/cache/nginx/nixpkgs-cache"
];
doInit = false;
encryption = {
mode = "repokey";
passCommand = "cat /secrets/backup/system/password";
};
startAt = "07:06";
persistentTimer = true;
};
}) systemTargets
);
in
{
services.borgbackup.jobs = systemJobs;
}

View file

@ -6,7 +6,6 @@
../../defaults/meta
./applications
./backup.nix
./disko-config.nix
./networking.nix
./secrets.nix