finish nomad, add consul, sops

This commit is contained in:
2023-11-19 23:55:43 +00:00
parent 5ce7ffc29c
commit cc519e48cf

View File

@@ -20,18 +20,17 @@
# myPkg = oldpkgs.consul; # myPkg = oldpkgs.consul;
in { in {
# virtualisation.docker.enable = true; # virtualisation.docker.enable = true;
sops.secrets.consul_encrypt_json = { sops.secrets.consul_encrypt_json = {
sopsFile = "${secretstore}/consul_encrypt.json"; sopsFile = "${secretstore}/consul_encrypt.json";
device_json.format = "binary"; device_json.format = "binary";
}; };
services.consul = { services.consul = {
# package = myPkg; # package = myPkg;
enable = true; enable = true;
webUi = true; webUi = true;
interface.bind = "end0"; interface.bind = "end0";
extraConfigFiles = [ sops.secrets.consul_encrypt_json.path ] extraConfigFiles = [sops.secrets.consul_encrypt_json.path];
extraConfig = { extraConfig = {
bootstrap = false; bootstrap = false;
server = true; server = true;