summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/cd/default.nix4
-rw-r--r--modules/mu/default.nix6
-rw-r--r--modules/tv/base.nix3
-rw-r--r--modules/wu/default.nix3
4 files changed, 7 insertions, 9 deletions
diff --git a/modules/cd/default.nix b/modules/cd/default.nix
index a4e6bbc7d..f912afa1b 100644
--- a/modules/cd/default.nix
+++ b/modules/cd/default.nix
@@ -6,6 +6,7 @@
<secrets/hashedPasswords.nix>
./iptables.nix
./networking.nix
+ ../tv/base.nix
../tv/base-cac-CentOS-7-64bit.nix
../tv/ejabberd.nix # XXX echtes modul
../tv/exim-smarthost.nix
@@ -65,9 +66,6 @@
sound.enable = false;
- # TODO base
- time.timeZone = "UTC";
-
# TODO replace by ./modules/cd-users.nix
users.extraGroups = {
diff --git a/modules/mu/default.nix b/modules/mu/default.nix
index baec9bf8e..4bbd074d4 100644
--- a/modules/mu/default.nix
+++ b/modules/mu/default.nix
@@ -11,12 +11,13 @@ in
{
imports = [
<secrets/hashedPasswords.nix>
+ ../tv/base.nix
../tv/exim-retiolum.nix
../tv/retiolum.nix
../tv/sanitize.nix
];
- time.timeZone = "Europe/Berlin";
+ nix.maxJobs = 2;
services.udev.extraRules = ''
SUBSYSTEM=="net", ATTR{address}=="00:90:f5:da:aa:c3", NAME="en0"
@@ -74,9 +75,6 @@ in
swapDevices =[ ];
- nix.maxJobs = 8;
- nix.useChroot = true;
-
nixpkgs.config.firefox.enableAdobeFlash = true;
nixpkgs.config.chromium.enablePepperFlash = true;
diff --git a/modules/tv/base.nix b/modules/tv/base.nix
index 76c8b8970..94f3609cc 100644
--- a/modules/tv/base.nix
+++ b/modules/tv/base.nix
@@ -3,8 +3,6 @@
{
time.timeZone = "Europe/Berlin";
- nix.maxJobs = 8;
- nix.useChroot = true;
# TODO check if both are required:
nix.chrootDirs = [ "/etc/protocols" pkgs.iana_etc.outPath ];
@@ -14,4 +12,5 @@
"http://hydra.nixos.org"
];
+ nix.useChroot = true;
}
diff --git a/modules/wu/default.nix b/modules/wu/default.nix
index f586552e4..260e8285e 100644
--- a/modules/wu/default.nix
+++ b/modules/wu/default.nix
@@ -22,6 +22,9 @@ in
../tv/xserver.nix
];
+ nix.maxJobs = 8;
+
+
services.udev.extraRules = ''
SUBSYSTEM=="net", ATTR{address}=="00:90:f5:da:aa:c3", NAME="en0"
SUBSYSTEM=="net", ATTR{address}=="a0:88:b4:1b:ae:6c", NAME="wl0"