aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-04-20 18:06:42 +0200
committerAlex Auvolat <alex@adnab.me>2022-04-20 18:06:42 +0200
commit2685970256d5b87462baa4b95056ace3af6a29a7 (patch)
tree8754d920b035848683fc935114fe7aafae451c24
parent10d370491e07223c54009feb9330a9c662fe3b79 (diff)
downloadnixcfg-2685970256d5b87462baa4b95056ace3af6a29a7.tar.gz
nixcfg-2685970256d5b87462baa4b95056ace3af6a29a7.zip
fake update spoutnik config
-rw-r--r--cluster/staging/node/spoutnik.nix20
1 files changed, 5 insertions, 15 deletions
diff --git a/cluster/staging/node/spoutnik.nix b/cluster/staging/node/spoutnik.nix
index 80ed5d7..060d77d 100644
--- a/cluster/staging/node/spoutnik.nix
+++ b/cluster/staging/node/spoutnik.nix
@@ -12,22 +12,12 @@
networking.hostName = "spoutnik";
services.openssh.ports = [ 220 ];
- networking.interfaces.enp0s25.useDHCP = false;
- networking.interfaces.enp0s25.ipv4.addresses = [
- {
- address = "192.168.0.40";
- prefixLength = 24;
- }
- ];
+ deuxfleurs.network_interface = "enp0s25";
+ deuxfleurs.lan_ip = "192.168.0.40";
+ deuxfleurs.ipv6 = "::"; #TODO
- networking.wireguard.interfaces.wg0 = {
- ips = [ "10.42.2.2/16" ];
- listenPort = 42136;
- };
-
- # Activate as Nomad and Consul server node
- services.nomad.settings.server.enabled = true;
- services.consul.extraConfig.server = true;
+ deuxfleurs.cluster_ip = "10.14.0.0";
+ deuxfleurs.is_raft_server = false; #TODO
# Nginx configuration: