mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-17 01:55:10 +01:00
backup static files to garage
This commit is contained in:
parent
e887bbf737
commit
da0615ad18
30 changed files with 148 additions and 12 deletions
|
|
@ -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" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue