From 945dd4fa9ae898562648bc33b4798adaaca08be4 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 17 Nov 2022 00:17:56 +0100 Subject: Run Garage as a Nomad Nix job on staging cluster --- cluster/staging/node/cariacou.nix | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'cluster/staging/node') 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=" ]; } -- cgit v1.2.3