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