summaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/default.nix b/default.nix
index 49e889924..b7468dbe7 100644
--- a/default.nix
+++ b/default.nix
@@ -1,13 +1,17 @@
{ 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 = [
- (./1systems + "/${user-name}/${system-name}.nix")
- (./3modules/krebs)
- (./3modules + "/${user-name}")
+ modules = map (p: ./. + "/${p}") [
+ "${user-name}/systems/${system-name}.nix"
+ "${user-name}/modules"
+ "3modules/krebs"
];
};