@cryptotaxi247 / infra / commits / bc6c29a5

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

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

Eelco Dolstra committed Jul 5, 2010 at 14:20 UTC bc6c29a517ba1dd207c3cfca2e7dd714a26cabb8
2 files changed +5 -4
common.nix
+1 -1
@@ -3,7 +3,7 @@
3 {
4 boot.kernelModules = [ "coretemp" ];
5
6 - environment.systemPackages = [ pkgs.emacs pkgs.subversion pkgs.sysstat pkgs.hdparm ];
6 + environment.systemPackages = [ pkgs.emacs pkgs.subversion pkgs.sysstat pkgs.hdparm pkgs.lsiutil ];
7
8 services.sshd.enable = true;
9
hydra.nix
+4 -3
@@ -29,9 +29,9 @@ in
29 };
30
31 fileSystems =
32 - [ { mountPoint = "/";
32 + [ { mountPoint = "/";
33 label = "nixos";
34 - options = "noatime,barrier=0";
34 + options = "noatime,barrier=0,data=ordered";
35 }
36 ];
37
@@ -46,6 +46,7 @@ in
46
47 extraOptions = ''
48 gc-keep-outputs = true
49 + gc-keep-derivations = true
50
51 # The default (`true') slows Nix down a lot since the build farm
52 # has so many GC roots.
@@ -85,7 +86,7 @@ in
86 fi
87 '';
88 in
88 - [ "15 02 * * * hydra source /home/hydrddda/.bashrc; /nix/var/nix/profiles/per-user/hydra/profile/bin/hydra_update_gc_roots.pl > /home/hydra/gc-roots.log 2>&1"
89 + [ "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"
90 # Make sure that at least 200 GiB of disk space is available.
91 "15 03 * * * root nix-store --gc --max-freed \"$((200 * 1024**3 - 1024 * $(df /nix/store | tail -n 1 | awk '{ print $4 }')))\" > /var/log/gc.log 2>&1"
92 "*/5 * * * * root ${checkSpace}"