Author: maggesi
Date: Tue May 15 20:59:29 2012
New Revision: 34122
URL: https://nixos.org/websvn/nix/?rev=34122&sc=1

Log:
Enable krb5 and openafs on dolly

Modified:
   configurations/trunk/misc/z77z/dolly.nix

Modified: configurations/trunk/misc/z77z/dolly.nix
==============================================================================
--- configurations/trunk/misc/z77z/dolly.nix    Tue May 15 20:48:44 2012        
(r34121)
+++ configurations/trunk/misc/z77z/dolly.nix    Tue May 15 20:59:29 2012        
(r34122)
@@ -4,21 +4,24 @@
   require = [ "${modulesPath}/virtualisation/xen-domU.nix" ];
 
   fileSystems = [ { mountPoint = "/"; label = "nixos"; } ];
-
-  networking =
-    { hostName = "dolly";
-      nameservers = [ "150.217.34.1" "150.217.34.211" ];
-      defaultMailServer.directDelivery = true;
-      defaultMailServer.hostName = "mail.math.unifi.it";
+  swapDevices = [ { device = "/dev/xvdb1"; } ];
+  
+  networking = {
+    hostName = "dolly";
+    nameservers = [ "150.217.34.1" "150.217.34.211" ];
+    defaultMailServer.directDelivery = true;
+    defaultMailServer.hostName = "mail.math.unifi.it";
       
-      useDHCP = false;
-      interfaces =
-        [ { name = "eth0";
-            ipAddress = "150.217.34.130";
-            subnetMask = "255.255.255.128";
-        } ];
-      defaultGateway = "150.217.34.129";
-    };
+    useDHCP = false;
+    interfaces =
+      [ { name = "eth0";
+          ipAddress = "150.217.34.130";
+          subnetMask = "255.255.255.128"; } ];
+    defaultGateway = "150.217.34.129";
+    extraHosts = ''
+      150.217.33.145 neve
+    '';
+  };
 
   environment.systemPackages =
     with pkgs;
@@ -30,7 +33,7 @@
   services.locate.period = "40 3 * * *";
   services.openssh.enable = true;
 
-  services.openafsClient.enable = false;
+  services.openafsClient.enable = true;
   services.openafsClient.cellName = "math.unifi.it";
 
   services.postgresql.enable = true;
@@ -56,7 +59,7 @@
 
   time.timeZone = "Europe/Rome";
 
-  krb5.enable = false;
+  krb5.enable = true;
   krb5.defaultRealm = "MATH.UNIFI.IT";
   krb5.kdc = "kerberos.math.unifi.it";
   krb5.kerberosAdminServer = "kerberos.math.unifi.it";
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to