mirror of
https://github.com/sstent/nixos-cluster.git
synced 2026-01-25 14:42:55 +00:00
finish nomad, add consul, sops
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user