@cryptotaxi247 / infra-1 / commits / f4c9805e

Remove old maven stuff.

Rob Vermaas committed Jun 12, 2015 at 09:40 UTC f4c9805e9e489db5f2e6a8d68882dae411cf5961
1 file changed -13
delft/build-machines-common.nix
-13
@@ -1,15 +1,6 @@
1 { config, pkgs, ... }:
2
3 with pkgs.lib;
4 -let
5 - m3chown = pkgs.writeScript "chown-tmp-m3" ''
6 - #! /bin/sh
7 - set -e
8 - if [[ -d /tmp/m3 ]]; then
9 - chmod ug+w -R /tmp/m3
10 - fi
11 - '';
12 -in
4 {
5 require = [ ./common.nix ];
6
@@ -27,10 +18,6 @@ in
18 nix.gc.dates = "03,09,15,21:15";
19 nix.gc.options = ''--max-freed "$((100 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | ${pkgs.gawk}/bin/awk '{ print $4 }')))"'';
20
30 - services.cron.systemCronJobs = [
31 - "0,30 * * * * ${m3chown}"
32 - ];
33 -
21 users.extraUsers.root.openssh.authorizedKeys.keys = singleton
22 ''
23 command="nix-store --serve --write" ${readFile ./id_buildfarm.pub}