From e6a49466769be1018be37391ff9f8280e4d263cd Mon Sep 17 00:00:00 2001 From: sstent Date: Mon, 20 Nov 2023 00:11:14 +0000 Subject: [PATCH] finish nomad, add consul, sops --- modules/consul.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/consul.nix b/modules/consul.nix index 939d38e..da50115 100644 --- a/modules/consul.nix +++ b/modules/consul.nix @@ -20,7 +20,7 @@ # myPkg = oldpkgs.consul; in { # virtualisation.docker.enable = true; - sops.secrets.consul_encrypt.json = { + sops.secrets."consul_encrypt.json" = { sopsFile = "${secretstore}/consul_encrypt.json"; format = "binary"; owner = "consul"; @@ -32,7 +32,7 @@ in { enable = true; webUi = true; interface.bind = "end0"; - extraConfigFiles = [config.sops.secrets.consul_encrypt.json.path]; + extraConfigFiles = [config.sops.secrets."consul_encrypt.json".path]; extraConfig = { bootstrap = false; server = true;