@cryptotaxi247 / infra-1 / commits / ee0c4ff3

svn path=/configurations/trunk/tud/; revision=19734

svn path=/configurations/trunk/tud/; revision=19734

Eelco Dolstra committed Jan 29, 2010 at 15:55 UTC ee0c4ff3b83f4b5f2b8b6151a0d2c12f9e0da5c8
2 files changed +6 -1
common.nix
+5
@@ -9,4 +9,9 @@
9 ''
10 echo 60 > /proc/sys/kernel/panic
11 '';
12 +
13 + nix.extraOptions =
14 + ''
15 + fsync-metadata = true
16 + '';
17 }
hydra.nix
+1 -1
@@ -78,7 +78,7 @@ in
78 cron.systemCronJobs =
79 [ "15 02 * * * hydra source /home/hydra/.bashrc; /nix/var/nix/profiles/per-user/hydra/profile/bin/hydra_update_gc_roots.pl > /home/hydra/gc-roots.log 2>&1"
80 # Make sure that at least 100 GiB of disk space is available.
81 - "15 03 * * * root nix-store --gc --max-freed \"$((100 * 1024**3 - 1024 * $(df /nix/store | tail -n 1 | awk '{ print $4 }')))\" > /var/log/gc.log 2>&1"
81 + "15 03 * * * root nix-store --gc --max-freed \"$((250 * 1024**3 - 1024 * $(df /nix/store | tail -n 1 | awk '{ print $4 }')))\" > /var/log/gc.log 2>&1"
82 ];
83
84 };