From f03cafd49b48eabc4743b3a3791fd22f19cb0de1 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 9 Feb 2022 12:09:49 +0100 Subject: Modularize and prepare to support multiple clusters --- site/neptune.nix | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 site/neptune.nix (limited to 'site/neptune.nix') 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" - ]; - }; -} -- cgit v1.2.3