mirror of
https://github.com/sstent/nixos-cluster.git
synced 2026-02-05 12:01:38 +00:00
finish nomad, add consul, sops
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
# 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";
|
||||||
format = "binary";
|
format = "binary";
|
||||||
owner = "consul";
|
owner = "consul";
|
||||||
@@ -32,7 +32,7 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
webUi = true;
|
webUi = true;
|
||||||
interface.bind = "end0";
|
interface.bind = "end0";
|
||||||
extraConfigFiles = [config.sops.secrets.consul_encrypt_json.path];
|
extraConfigFiles = [config.sops.secrets.consul_encrypt.json.path];
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
bootstrap = false;
|
bootstrap = false;
|
||||||
server = true;
|
server = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user