aboutsummaryrefslogtreecommitdiff
path: root/cluster/staging/node
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-11-17 00:17:56 +0100
committerAlex Auvolat <alex@adnab.me>2022-11-17 00:17:56 +0100
commit945dd4fa9ae898562648bc33b4798adaaca08be4 (patch)
treeaddfe2b30272f8079dad71061448a8d222499542 /cluster/staging/node
parent3c5f4b55e6e07414d204f682c449ad39fb4916c0 (diff)
downloadnixcfg-945dd4fa9ae898562648bc33b4798adaaca08be4.tar.gz
nixcfg-945dd4fa9ae898562648bc33b4798adaaca08be4.zip
Run Garage as a Nomad Nix job on staging cluster
Diffstat (limited to 'cluster/staging/node')
-rw-r--r--cluster/staging/node/cariacou.nix18
1 files changed, 0 insertions, 18 deletions
diff --git a/cluster/staging/node/cariacou.nix b/cluster/staging/node/cariacou.nix
index d653979..61d3f28 100644
--- a/cluster/staging/node/cariacou.nix
+++ b/cluster/staging/node/cariacou.nix
@@ -21,22 +21,4 @@
deuxfleurs.cluster_ip = "10.14.1.1";
deuxfleurs.is_raft_server = true;
-
- # ----
-
- # experimental: config for nomad nix driver
- services.nomad.dropPrivileges = false;
- services.nomad.extraPackages = [
- pkgs.nix
- pkgs.git
- ];
- services.nomad.extraSettingsPlugins =
- let nomad_driver_nix = import ./nomad-driver-nix.nix { inherit pkgs; };
- in [ nomad_driver_nix ];
- # the nix driver requires flakes to be enabled
- nix.settings.experimental-features = [ "nix-command" "flakes" ];
-
- # use our cache as additionnal substituer
- nix.settings.substituters = [ "https://nix.web.deuxfleurs.fr" ];
- nix.settings.trusted-public-keys = [ "nix.web.deuxfleurs.fr:eTGL6kvaQn6cDR/F9lDYUIP9nCVR/kkshYfLDJf1yKs=" ];
}