Author: eelco
Date: Sun Feb 27 12:05:19 2011
New Revision: 26123
URL: https://svn.nixos.org/websvn/nix/?rev=26123&sc=1

Log:


Replaced:
   configurations/trunk/misc/eelco/dutibo.nix
      - copied unchanged from r26122, configurations/trunk/misc/eelco-dutibo.nix
Deleted:
   configurations/trunk/misc/eelco-dutibo.nix

Copied: configurations/trunk/misc/eelco/dutibo.nix (from r26122, 
configurations/trunk/misc/eelco-dutibo.nix)
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ configurations/trunk/misc/eelco/dutibo.nix  Sun Feb 27 12:05:19 2011        
(r26123, copy of r26122, configurations/trunk/misc/eelco-dutibo.nix)
@@ -0,0 +1,221 @@
+{ pkgs, config, modulesPath, ... }:
+
+{
+  #nixpkgs.system = "x86_64-linux";
+
+  environment.nix = pkgs.nixSqlite;
+
+  boot.loader.grub.version = 2;
+  boot.loader.grub.device = "/dev/sda";
+  boot.loader.grub.copyKernels = true;
+  boot.loader.grub.extraEntries =
+    ''
+      menuentry "Windows" {
+        chainloader (hd0,2)+1
+      }
+    '';
+
+  boot.kernelModules = [ "fuse" "kvm-intel" "coretemp" "vboxdrv" ];
+
+  #boot.initrd.checkJournalingFS = false;
+
+  fileSystems = [
+    { mountPoint = "/";
+      label = "nixos";
+      #fsType = "ext4";
+    }
+    { mountPoint = "/windows";
+      device = "/dev/disk/by-uuid/9EA4B22EA4B208B3";
+      fsType = "ntfs-3g";
+      options = "uid=1000,fmask=077,dmask=077";
+      autocreate = true;
+    }
+    { mountPoint = "/srcs";
+      device = "/root/srcs.img";
+      fsType = "ext4";
+      options = "loop";
+    }
+  ];
+
+  swapDevices = [
+    { label = "swap"; }
+  ];
+
+  networking = {
+    hostName = "dutibo";
+    enableWLAN = true;
+    enableIntel3945ABGFirmware = true;
+    interfaceMonitor.enable = true;
+    interfaceMonitor.beep = true;
+    defaultMailServer.directDelivery = true;
+    defaultMailServer.hostName = "mail.st.ewi.tudelft.nl";
+    #defaultMailServer.hostName = "mail.xs4all.nl";
+    firewall.enable = true;
+    firewall.rejectPackets = true;
+  };
+
+  #environment.checkConfigurationOptions = false;
+
+  environment.systemPackages =
+    [ pkgs.fuse
+      pkgs.sshfsFuse
+      pkgs.aefs
+      #pkgs.xlockmore
+      #config.boot.kernelPackages.virtualbox
+      pkgs.firefoxWrapper
+      pkgs.thunderbird3
+      pkgs.emacs
+      pkgs.chatzilla
+      #pkgs.kde4.kdegames
+      #pkgs.kde4.kdegraphics
+      #pkgs.kde4.kdetoys
+      #pkgs.kde4.kdeutils
+      #pkgs.kde4.kdeedu
+      pkgs.kde4.kdemultimedia
+      pkgs.kde4.kdesdk.kcachegrind
+      #pkgs.kde4.kdenetwork
+      #pkgs.kde4.kdeplasma_addons
+    ];
+
+  security.extraSetuidPrograms = [ "fusermount" "xlock" ];
+
+  services = {
+
+    #nixosManual.enable = false;
+    #nixosManual.showManual = true;
+
+    locate = {
+      enable = true;
+      period = "40 3 * * *";
+    };
+
+    ttyBackgrounds = {
+      defaultTheme = pkgs.fetchurl {
+        url = http://www.kde-look.org/CONTENT/content-files/58501-green.tar.gz;
+        sha256 = "0sdykpziij1f3w4braq8r8nqg4lnsd7i7gi1k5d7c31m2q3b9a7r";
+      };
+    };
+  
+    sshd.enable = true;
+
+    httpd = {
+      enable = true;
+      logPerVirtualHost = true;
+      
+      adminAddr = "[email protected]";
+      documentRoot = "/home/eelco/Dev/nix-homepage";
+      /*
+      servedDirs = [
+        { urlPath = "/valgrind";
+          dir = "${pkgs.valgrind}/share/doc/valgrind/html";
+        }
+      ];
+      */
+      servedFiles = [
+        { urlPath = "/serg-logo.png";
+          file = /etc/nixos/configurations/tud/webroot/serg-logo.png;
+        }
+      ];
+      enableUserDir = true;
+      
+      extraSubservices = [
+        /*
+        { serviceType = "subversion";
+          urlPrefix = "/svn";
+          dataDir = "/var/tmp/svn";
+          notificationSender = "[email protected]";
+          userCreationDomain = "10.0.0.0/8";
+          organisation = {
+            name = "TU Delft, Department of Software Technology";
+            url = http://www.st.ewi.tudelft.nl/;
+            logo = "/serg-logo.png";
+          };
+        }
+        */
+        /*
+        { serviceType = "mediawiki";
+          siteName = "Nix Wiki";
+          logo = "/logo/nix-wiki.png";
+          extraConfig =
+            ''
+              $wgEmailConfirmToEdit = true;
+            '';
+        }
+        */
+      ];
+    };
+
+    xserver = {
+      enable = true;
+      videoDriver = "nvidia";
+      resolutions = [{x = 1920; y = 1200;} {x = 1440; y = 900;} {x = 1280; y = 
1024;} {x = 1024; y = 768;} {x = 800; y = 600;} {x = 640; y = 480;} {x = 1920; 
y = 1200;}];
+      driSupport = true;
+
+      displayManager.slim.theme = pkgs.fetchurl {
+        url = http://download.berlios.de/slim/slim-wave.tar.gz;
+        sha256 = "0ndr419i5myzcylvxb89m9grl2xyq6fbnyc3lkd711mzlmnnfxdy";
+      };
+      
+      displayManager.kdm.enable = true;
+
+      desktopManager.kde4.enable = true;
+      desktopManager.xfce.enable = true;
+      
+      windowManager.compiz.enable = true;
+    };
+
+    printing.enable = true;
+
+    #postgresql.enable = true;
+
+    #mysql.enable = true;
+  };
+
+  fonts = {
+    enableGhostscriptFonts = true;
+    enableCoreFonts = true;
+  };
+
+  nix = {
+    maxJobs = 2;
+    #useChroot = true;
+    extraOptions = ''
+      gc-keep-outputs = true
+      fsync-metadata = false
+    '';
+    distributedBuilds = true;
+    buildMachines = [
+      /*
+      { hostName = "buildfarm.st.ewi.tudelft.nl";
+        sshUser = "root";
+        sshKey = "/root/.ssh/id_buildfarm";
+        system = "i686-linux";
+        maxJobs = 1;
+      }
+      */
+      { hostName = "buildfarm.st.ewi.tudelft.nl";
+        sshUser = "root";
+        sshKey = "/root/.ssh/id_buildfarm";
+        system = "x86_64-linux";
+        maxJobs = 1;
+      }
+      { hostName = "buildfarm.st.ewi.tudelft.nl";
+        sshUser = "root";
+        sshKey = "/root/.ssh/id_buildfarm";
+        system = "i686-darwin";
+        maxJobs = 1;
+      }
+      { hostName = "buildfarm.st.ewi.tudelft.nl";
+        sshUser = "root";
+        sshKey = "/root/.ssh/id_buildfarm";
+        system = "i686-cygwin";
+        maxJobs = 1;
+      }
+    ];
+  };
+
+  powerManagement.enable = true;
+  powerManagement.powerUpCommands = "${pkgs.hdparm}/sbin/hdparm -B 255 
/dev/sda";
+
+  hardware.bluetooth.enable = true;
+}
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to