forked from Deuxfleurs/nixcfg
staging: updates
This commit is contained in:
parent
e89d1c82bb
commit
e98ec690b9
2 changed files with 5 additions and 2 deletions
|
@ -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",
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue