staging: updates

This commit is contained in:
Alex 2024-01-22 23:21:26 +01:00
parent e89d1c82bb
commit e98ec690b9
2 changed files with 5 additions and 2 deletions

View file

@ -33,7 +33,7 @@ job "im" {
] ]
command = "litestream" command = "litestream"
args = [ args = [
"restore", "-v", "-config", "/etc/litestream.yml", "/ephemeral/homeserver.db" "restore", "-config", "/etc/litestream.yml", "/ephemeral/homeserver.db"
] ]
bind = { bind = {
"../alloc/data" = "/ephemeral", "../alloc/data" = "/ephemeral",

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... } @ args: { config, pkgs, lib, ... } @ args:
{ {
deuxfleurs.clusterName = "staging"; deuxfleurs.clusterName = "staging";
@ -98,6 +98,9 @@
## ===== EXPERIMENTAL SECTION FOR STAGING CLUSTER ===== ## ===== EXPERIMENTAL SECTION FOR STAGING CLUSTER =====
# Test nomad 1.6
services.nomad.package = lib.mkForce pkgs.nomad_1_6;
# We're doing lots of experiments so GC periodically is usefull. # We're doing lots of experiments so GC periodically is usefull.
nix.gc.automatic = true; nix.gc.automatic = true;