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