summaryrefslogtreecommitdiffstats
path: root/2configs/tv/consul-server.nix
blob: 63dabdc2a4de0a3bf6f60980228a60fe283dcc87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ config, ... }:

{
  tv.consul = rec {
    enable = true;

    inherit (config.tv.identity) self;
    inherit (self) dc;

    server = true;

    hosts = with config.krebs.hosts; [
      # TODO get this list automatically from each host where tv.consul.enable is true
      cd
      mkdir
      nomic
      rmdir
      #wu
    ];
  };
}
[cgit] Unable to lock slot /tmp/cgit/7e300000.lock: No such file or directory (2)