diff --git a/cluster/staging/app/im/deploy/im-nix.hcl b/cluster/staging/app/im/deploy/im-nix.hcl index 318e954..51cf57e 100644 --- a/cluster/staging/app/im/deploy/im-nix.hcl +++ b/cluster/staging/app/im/deploy/im-nix.hcl @@ -33,7 +33,7 @@ job "im" { ] command = "litestream" args = [ - "restore", "-v", "-config", "/etc/litestream.yml", "/ephemeral/homeserver.db" + "restore", "-config", "/etc/litestream.yml", "/ephemeral/homeserver.db" ] bind = { "../alloc/data" = "/ephemeral", diff --git a/cluster/staging/cluster.nix b/cluster/staging/cluster.nix index b4bcfe4..7addac3 100644 --- a/cluster/staging/cluster.nix +++ b/cluster/staging/cluster.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... } @ args: +{ config, pkgs, lib, ... } @ args: { deuxfleurs.clusterName = "staging"; @@ -98,6 +98,9 @@ ## ===== 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. nix.gc.automatic = true;