backup static files to garage

This commit is contained in:
nora 2024-08-08 15:43:38 +02:00
parent e887bbf737
commit da0615ad18
30 changed files with 148 additions and 12 deletions

View file

@ -161,6 +161,7 @@
./modules/garage
./modules/podman
./modules/registry
./modules/backup
# apps
./apps/widetom
@ -234,13 +235,22 @@
'';
};
vps5 = { name, nodes, modulesPath, config, ... }: {
vps5 = { name, nodes, modulesPath, config, pkgs, ... }: {
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
./modules/contabo
./modules/ingress
./modules/wg-mesh
./modules/garage
./modules/backup
];
services.custom-backup.jobs = [
{
app = "testapp";
file = "/etc/hosts";
environmentFile = pkgs.writeText "env" "MyEnv=true\n";
}
];
deployment.tags = [ "eu" "apps" "wg" ];