diff options
author | Alex Auvolat <alex@adnab.me> | 2024-01-22 23:21:26 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-01-22 23:21:26 +0100 |
commit | e98ec690b912fdf54444d88e668cff74016fe15b (patch) | |
tree | b00cf44745531bee9102e802100e96379c267edd /cluster | |
parent | e89d1c82bb6830c1f80155b609187587b1b45325 (diff) | |
download | nixcfg-e98ec690b912fdf54444d88e668cff74016fe15b.tar.gz nixcfg-e98ec690b912fdf54444d88e668cff74016fe15b.zip |
staging: updates
Diffstat (limited to 'cluster')
-rw-r--r-- | cluster/staging/app/im/deploy/im-nix.hcl | 2 | ||||
-rw-r--r-- | cluster/staging/cluster.nix | 5 |
2 files changed, 5 insertions, 2 deletions
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; |