finish nomad, add consul, sops

This commit is contained in:
2023-11-20 00:11:14 +00:00
parent 6dc6e4adc1
commit e6a4946676

View File

@@ -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;