From 47567807bbbe65659699ef26c70369dd853cea72 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 15 Feb 2016 16:27:11 +0100 Subject: [PATCH] don't try to mimic nixpkgs --- 1systems/filepimp.nix | 1 + 1systems/gum.nix | 1 + 1systems/omo.nix | 1 + 1systems/pnp.nix | 1 + 1systems/pornocauster.nix | 1 + 1systems/repunit.nix | 1 + 1systems/tsp.nix | 1 + 1systems/vbob.nix | 1 + 1systems/wbob.nix | 1 + 1systems/wry.nix | 1 + 2configs/default.nix | 4 +--- default.nix | 8 ++++++++ 12 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 default.nix diff --git a/1systems/filepimp.nix b/1systems/filepimp.nix index fb9324e..f2c592e 100644 --- a/1systems/filepimp.nix +++ b/1systems/filepimp.nix @@ -11,6 +11,7 @@ let in { imports = [ # Include the results of the hardware scan. + ../. ../2configs/fs/single-partition-ext4.nix ../2configs/tinc-basic-retiolum.nix ../2configs/smart-monitor.nix diff --git a/1systems/gum.nix b/1systems/gum.nix index 43fc810..04adc49 100644 --- a/1systems/gum.nix +++ b/1systems/gum.nix @@ -6,6 +6,7 @@ let internal-ip = head config.krebs.build.host.nets.retiolum.addrs4; in { imports = [ + ../. ../2configs/tinc-basic-retiolum.nix ../2configs/headless.nix ../2configs/fs/simple-swap.nix diff --git a/1systems/omo.nix b/1systems/omo.nix index 34d5a39..6cff35e 100644 --- a/1systems/omo.nix +++ b/1systems/omo.nix @@ -20,6 +20,7 @@ let in { imports = [ + ../. # TODO: unlock home partition via ssh ../2configs/fs/single-partition-ext4.nix ../2configs/tinc-basic-retiolum.nix diff --git a/1systems/pnp.nix b/1systems/pnp.nix index 51c124b..8791ad1 100644 --- a/1systems/pnp.nix +++ b/1systems/pnp.nix @@ -6,6 +6,7 @@ { imports = [ + ../. ../2configs/tinc-basic-retiolum.nix ../2configs/headless.nix ../../krebs/3modules/Reaktor.nix diff --git a/1systems/pornocauster.nix b/1systems/pornocauster.nix index d8ccc58..b2cf0be 100644 --- a/1systems/pornocauster.nix +++ b/1systems/pornocauster.nix @@ -6,6 +6,7 @@ { imports = [ # Include the results of the hardware scan. + ../. ../2configs/main-laptop.nix #< base-gui + zsh # Krebs diff --git a/1systems/repunit.nix b/1systems/repunit.nix index 0c6ba09..6d2e727 100644 --- a/1systems/repunit.nix +++ b/1systems/repunit.nix @@ -7,6 +7,7 @@ { imports = [ # Include the results of the hardware scan. + ../. ../2configs/cgit-retiolum.nix ]; diff --git a/1systems/tsp.nix b/1systems/tsp.nix index 990db65..d5d44cc 100644 --- a/1systems/tsp.nix +++ b/1systems/tsp.nix @@ -6,6 +6,7 @@ { imports = [ # Include the results of the hardware scan. + ../. ../2configs/base-gui.nix ../2configs/tinc-basic-retiolum.nix ../2configs/fs/sda-crypto-root.nix diff --git a/1systems/vbob.nix b/1systems/vbob.nix index 2dee837..e07525d 100644 --- a/1systems/vbob.nix +++ b/1systems/vbob.nix @@ -6,6 +6,7 @@ krebs.build.host = config.krebs.hosts.vbob; imports = [ # Include the results of the hardware scan. + ../. ../2configs/main-laptop.nix #< base-gui diff --git a/1systems/wbob.nix b/1systems/wbob.nix index 8917e43..b4f7c90 100644 --- a/1systems/wbob.nix +++ b/1systems/wbob.nix @@ -2,6 +2,7 @@ { imports = [ # Include the results of the hardware scan. + ../. ../2configs/main-laptop.nix ]; krebs = { diff --git a/1systems/wry.nix b/1systems/wry.nix index 41d207e..7473219 100644 --- a/1systems/wry.nix +++ b/1systems/wry.nix @@ -7,6 +7,7 @@ let internal-ip = head config.krebs.build.host.nets.retiolum.addrs4; in { imports = [ + ../. # TODO: copy this config or move to krebs ../../tv/2configs/hw/CAC.nix ../../tv/2configs/fs/CAC-CentOS-7-64bit.nix diff --git a/2configs/default.nix b/2configs/default.nix index c35bfc1..153e80b 100644 --- a/2configs/default.nix +++ b/2configs/default.nix @@ -21,7 +21,7 @@ with config.krebs.lib; target = mkDefault "root@${config.krebs.build.host.name}"; user = config.krebs.users.makefu; source = mapAttrs (_: mkDefault) { - upstream-nixpkgs = { + nixpkgs = { url = https://github.com/nixos/nixpkgs; rev = "77f8f35d57618c1ba456d968524f2fb2c3448295"; # unstable @ 2015-01-27, tested on wry }; @@ -30,8 +30,6 @@ with config.krebs.lib; # Defaults for all stockholm users? nixos-config = "symlink:stockholm/${config.krebs.build.user.name}/1systems/${config.krebs.build.host.name}.nix"; - nixpkgs = symlink:stockholm/nixpkgs; - stockholm-user = "symlink:stockholm/${config.krebs.build.user.name}"; }; }; }; diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..320e1a1 --- /dev/null +++ b/default.nix @@ -0,0 +1,8 @@ +_: +{ + imports = [ + ../krebs + ./2configs + ./3modules + ]; +}