From cc519e48cf01832d8c8a129ff6e33685abba1ebc Mon Sep 17 00:00:00 2001 From: sstent Date: Sun, 19 Nov 2023 23:55:43 +0000 Subject: [PATCH] finish nomad, add consul, sops --- modules/consul.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/consul.nix b/modules/consul.nix index 1d40bed..fcb2fdb 100644 --- a/modules/consul.nix +++ b/modules/consul.nix @@ -20,18 +20,17 @@ # myPkg = oldpkgs.consul; in { # virtualisation.docker.enable = true; -sops.secrets.consul_encrypt_json = { + sops.secrets.consul_encrypt_json = { sopsFile = "${secretstore}/consul_encrypt.json"; device_json.format = "binary"; - }; - + }; services.consul = { # package = myPkg; enable = true; webUi = true; interface.bind = "end0"; - extraConfigFiles = [ sops.secrets.consul_encrypt_json.path ] + extraConfigFiles = [sops.secrets.consul_encrypt_json.path]; extraConfig = { bootstrap = false; server = true;