Author: eelco
Date: Mon Sep 12 09:08:31 2011
New Revision: 29201
URL: https://ssl.nixos.org/websvn/nix/?rev=29201&sc=1
Log:
* ‘hydra’ is now an ordinary build machine.
Modified:
configurations/trunk/tud/hydra.nix
Modified: configurations/trunk/tud/hydra.nix
==============================================================================
--- configurations/trunk/tud/hydra.nix Mon Sep 12 09:07:43 2011 (r29200)
+++ configurations/trunk/tud/hydra.nix Mon Sep 12 09:08:31 2011 (r29201)
@@ -1,37 +1,5 @@
{ config, pkgs, ... }:
{
- require = [ ./common.nix ];
-
- nixpkgs.system = "x86_64-linux";
-
- boot = {
- initrd.kernelModules = [ "mptsas" "ext4" ];
- kernelModules = [ "acpi-cpufreq" "kvm-intel" ];
- loader.grub.device = "/dev/sda";
- loader.grub.copyKernels = true;
- };
-
- fileSystems =
- [ { mountPoint = "/";
- label = "nixos";
- options = "noatime,barrier=0,data=ordered";
- }
- ];
-
- #swapDevices = [ { label = "swap" ; } ];
-
- nix.maxJobs = 8;
-
- networking = {
- hostName = "hydra";
- domain = "buildfarm";
- };
-
- services.cron.systemCronJobs =
- [
- # Make sure that at least 200 GiB of disk space is available.
- "15 3 * * * 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"
- ];
-
+ require = [ ./build-machines-dell-1950.nix ];
}
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits