summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-05-20 16:28:40 +0200
committertv <tv@krebsco.de>2015-05-20 16:28:40 +0200
commitd2030af9e2cd455c91c80e8aa736222e469991a6 (patch)
tree4f6edbf5baf0c56668e1e46e6e520b809b16d15b /modules
parentd483ab747a60750b4d41ac44a19e8461b272abdf (diff)
hosts mu,wu: use common nixpkgs
Diffstat (limited to 'modules')
-rw-r--r--modules/mu/default.nix6
-rw-r--r--modules/wu/default.nix5
2 files changed, 11 insertions, 0 deletions
diff --git a/modules/mu/default.nix b/modules/mu/default.nix
index 8490c84..8b37d9c 100644
--- a/modules/mu/default.nix
+++ b/modules/mu/default.nix
@@ -11,6 +11,7 @@ in
{
imports = [
<secrets/mu.hashedPasswords.nix>
+ ../common/nixpkgs.nix
../tv/base.nix
../tv/exim-retiolum.nix
../tv/retiolum.nix
@@ -19,6 +20,11 @@ in
nix.maxJobs = 2;
+ nixpkgs = {
+ url = "https://github.com/NixOS/nixpkgs";
+ rev = "4c01e6d91993b6de128795f4fbdd25f6227fb870";
+ };
+
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"
diff --git a/modules/wu/default.nix b/modules/wu/default.nix
index fbbeba2..3258779 100644
--- a/modules/wu/default.nix
+++ b/modules/wu/default.nix
@@ -10,6 +10,7 @@ in
imports = [
./hosts.nix
./iptables.nix
+ ../common/nixpkgs.nix
../tv/base.nix
../tv/exim-retiolum.nix
../tv/nginx.nix
@@ -25,6 +26,10 @@ in
nix.maxJobs = 8;
+ nixpkgs = {
+ url = "https://github.com/NixOS/nixpkgs";
+ rev = "4c01e6d91993b6de128795f4fbdd25f6227fb870";
+ };
services.udev.extraRules = ''
SUBSYSTEM=="net", ATTR{address}=="00:90:f5:da:aa:c3", NAME="en0"