summaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-07-27 21:36:15 +0200
committertv <tv@shackspace.de>2015-07-27 21:36:15 +0200
commit981664337fef772422cbc3ca8bcb8ebb85d79b02 (patch)
tree9a480eb7dbb9e6af6760560b34a9b0d47a8a7410 /default.nix
parent5a03593b3a6eb97d2f369424b2631ad122b8de85 (diff)
default.nix: lib = import 4lib/krebs
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/default.nix b/default.nix
index 77c5ead22..b7468dbe7 100644
--- a/default.nix
+++ b/default.nix
@@ -1,8 +1,12 @@
{ user-name, system-name }:
let
+ lib = import 4lib/krebs {
+ lib = import <nixpkgs/lib>;
+ };
eval = import <nixpkgs/nixos/lib/eval-config.nix> {
+ inherit lib;
system = builtins.currentSystem;
modules = map (p: ./. + "/${p}") [
"${user-name}/systems/${system-name}.nix"