aboutsummaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-11-18 16:40:19 +0100
committerAlex Auvolat <alex@adnab.me>2021-11-18 16:40:19 +0100
commitcdd4e2211ac90d55f528bb880d86ef1bf524c484 (patch)
treed49eddf2a3bc54fa1c5b6d89d93eeec530676a4d /node
parent777896a434d6d7ac603557546b2aa0525de62966 (diff)
downloadnixcfg-cdd4e2211ac90d55f528bb880d86ef1bf524c484.tar.gz
nixcfg-cdd4e2211ac90d55f528bb880d86ef1bf524c484.zip
Nomad config
Diffstat (limited to 'node')
-rw-r--r--node/carcajou.nix15
l---------node/carcajou.site.nix1
-rw-r--r--node/cariacou.nix15
l---------node/cariacou.site.nix1
-rw-r--r--node/caribou.nix5
l---------node/caribou.site.nix1
-rw-r--r--node/spoutnik.nix4
l---------node/spoutnik.site.nix1
8 files changed, 4 insertions, 39 deletions
diff --git a/node/carcajou.nix b/node/carcajou.nix
index 0d12899..9cf6cde 100644
--- a/node/carcajou.nix
+++ b/node/carcajou.nix
@@ -17,10 +17,6 @@
prefixLength = 24;
}
];
- networking.defaultGateway = {
- address = "192.168.1.254";
- interface = "eno1";
- };
networking.wireguard.interfaces.wg0 = {
ips = [ "10.42.0.22/16" ];
@@ -29,15 +25,4 @@
# Enable netdata monitoring
services.netdata.enable = true;
-
- # ----
-
- nix = {
- binaryCaches = [
- "http://binarycache.home.adnab.me"
- ];
- binaryCachePublicKeys = [
- "binarycache.home.adnab.me:ErR6pMnewf9oVyZJd5uC2nI4EZF49c7Mh86eDZWYZaw="
- ];
- };
}
diff --git a/node/carcajou.site.nix b/node/carcajou.site.nix
new file mode 120000
index 0000000..04ee36c
--- /dev/null
+++ b/node/carcajou.site.nix
@@ -0,0 +1 @@
+../site/neptune.nix \ No newline at end of file
diff --git a/node/cariacou.nix b/node/cariacou.nix
index bad08e8..bb43c22 100644
--- a/node/cariacou.nix
+++ b/node/cariacou.nix
@@ -17,10 +17,6 @@
prefixLength = 24;
}
];
- networking.defaultGateway = {
- address = "192.168.1.254";
- interface = "eno1";
- };
networking.wireguard.interfaces.wg0 = {
ips = [ "10.42.0.21/16" ];
@@ -29,15 +25,4 @@
# Enable netdata monitoring
services.netdata.enable = true;
-
- # ----
-
- nix = {
- binaryCaches = [
- "http://binarycache.home.adnab.me"
- ];
- binaryCachePublicKeys = [
- "binarycache.home.adnab.me:ErR6pMnewf9oVyZJd5uC2nI4EZF49c7Mh86eDZWYZaw="
- ];
- };
}
diff --git a/node/cariacou.site.nix b/node/cariacou.site.nix
new file mode 120000
index 0000000..04ee36c
--- /dev/null
+++ b/node/cariacou.site.nix
@@ -0,0 +1 @@
+../site/neptune.nix \ No newline at end of file
diff --git a/node/caribou.nix b/node/caribou.nix
index b325739..d4b186d 100644
--- a/node/caribou.nix
+++ b/node/caribou.nix
@@ -17,10 +17,6 @@
prefixLength = 24;
}
];
- networking.defaultGateway = {
- address = "192.168.1.254";
- interface = "eno1";
- };
networking.wireguard.interfaces.wg0 = {
ips = [ "10.42.0.23/16" ];
@@ -30,7 +26,6 @@
# OR use USB modem plugged in here
#networking.interfaces.enp0s20u1.useDHCP = true;
-
# Enable netdata monitoring
services.netdata.enable = true;
diff --git a/node/caribou.site.nix b/node/caribou.site.nix
new file mode 120000
index 0000000..04ee36c
--- /dev/null
+++ b/node/caribou.site.nix
@@ -0,0 +1 @@
+../site/neptune.nix \ No newline at end of file
diff --git a/node/spoutnik.nix b/node/spoutnik.nix
index 8e84a2b..55df7d7 100644
--- a/node/spoutnik.nix
+++ b/node/spoutnik.nix
@@ -19,10 +19,6 @@
prefixLength = 24;
}
];
- networking.defaultGateway = {
- address = "192.168.0.1";
- interface = "enp0s25";
- };
networking.wireguard.interfaces.wg0 = {
ips = [ "10.42.0.2/16" ];
diff --git a/node/spoutnik.site.nix b/node/spoutnik.site.nix
new file mode 120000
index 0000000..87c7991
--- /dev/null
+++ b/node/spoutnik.site.nix
@@ -0,0 +1 @@
+../site/pluton.nix \ No newline at end of file