aboutsummaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-02-09 12:09:49 +0100
committerAlex Auvolat <alex@adnab.me>2022-02-09 12:09:49 +0100
commitf03cafd49b48eabc4743b3a3791fd22f19cb0de1 (patch)
treee31d1c68502e4ee2f8f4dc67235eac0e220b2fbd /site
parentcce5cd17f5429295eb2165480ca941dd3f49b788 (diff)
downloadnixcfg-f03cafd49b48eabc4743b3a3791fd22f19cb0de1.tar.gz
nixcfg-f03cafd49b48eabc4743b3a3791fd22f19cb0de1.zip
Modularize and prepare to support multiple clusters
Diffstat (limited to 'site')
-rw-r--r--site/neptune.nix20
-rw-r--r--site/pluton.nix13
2 files changed, 0 insertions, 33 deletions
diff --git a/site/neptune.nix b/site/neptune.nix
deleted file mode 100644
index dfa2d37..0000000
--- a/site/neptune.nix
+++ /dev/null
@@ -1,20 +0,0 @@
-{ config, pkgs, ... }:
-
-{
- networking.defaultGateway = {
- address = "192.168.1.254";
- interface = "eno1";
- };
-
- services.nomad.settings.datacenter = "neptune";
-
- networking.firewall.allowedTCPPorts = [ 80 443 ];
-
- services.cron = {
- enable = true;
- systemCronJobs = [
- "0 2 * * * root nix-collect-garbage --delete-older-than 10d >> /root/nix_gc_log 2>&1"
- "30 2 * * * root docker run --rm -v /var/lib/drone/nix:/nix nixpkgs/nix:nixos-21.05 nix-collect-garbage --delete-older-than 30d >> /root/drone_nix_gc_log 2>&1"
- ];
- };
-}
diff --git a/site/pluton.nix b/site/pluton.nix
deleted file mode 100644
index 6b57129..0000000
--- a/site/pluton.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-{ config, pkgs, ... }:
-
-{
- networking.defaultGateway = {
- address = "192.168.0.1";
- interface = "enp0s25";
- };
- networking.nameservers = [ "213.186.33.99" "172.104.136.243" ];
-
- services.nomad.settings.datacenter = "pluton";
-
- networking.firewall.allowedTCPPorts = [ 80 443 ];
-}