Compare commits
2 commits
601fc03e32
...
d720ba41a6
Author | SHA1 | Date | |
---|---|---|---|
d720ba41a6 | |||
fa36c5879c |
6 changed files with 10 additions and 9 deletions
|
@ -23,6 +23,7 @@ in
|
|||
bind_addr = hl.ipv4;
|
||||
ports.serf_lan = hl.port;
|
||||
retry_join = map (hostName: hostLinks.${hostName}.consul.tuple) (cfg.otherNodes.agent hostName);
|
||||
bootstrap_expect = builtins.length cfg.nodes.agent;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
time.timeZone = "Europe/Helsinki";
|
||||
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.enp0s31f6.useDHCP = true;
|
||||
networking.interfaces.${config.reflection.interfaces.primary.link}.useDHCP = true;
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ depot, ... }:
|
||||
{ config, depot, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
|
@ -22,7 +22,7 @@
|
|||
time.timeZone = "Europe/Zurich";
|
||||
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.ens3.useDHCP = true;
|
||||
networking.interfaces.${config.reflection.interfaces.primary.link}.useDHCP = true;
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ depot, ... }:
|
||||
{ config, depot, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
|
@ -24,7 +24,7 @@
|
|||
time.timeZone = "Europe/Zurich";
|
||||
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.enp0s6.useDHCP = true;
|
||||
networking.interfaces.${config.reflection.interfaces.primary.link}.useDHCP = true;
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ depot, ... }:
|
||||
{ config, depot, ... }:
|
||||
|
||||
{
|
||||
imports = with depot.nixosModules; [
|
||||
|
@ -12,7 +12,7 @@
|
|||
|
||||
networking.useDHCP = false;
|
||||
|
||||
networking.interfaces.eth0.useDHCP = true;
|
||||
networking.interfaces.${config.reflection.interfaces.primary.link}.useDHCP = true;
|
||||
|
||||
networking.nameservers = [ depot.hours.VEGAS.interfaces.vstub.addr ];
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ depot, ... }:
|
||||
{ config, depot, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
|
@ -22,7 +22,7 @@
|
|||
time.timeZone = "Europe/Zurich";
|
||||
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.ens3.useDHCP = true;
|
||||
networking.interfaces.${config.reflection.interfaces.primary.link}.useDHCP = true;
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
|
|
Loading…
Reference in a new issue