summaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-07-27 04:37:56 +0200
committertv <tv@shackspace.de>2015-07-27 04:37:56 +0200
commit9303ab870cda5c110929cc206e0f96f506f25879 (patch)
tree6492febd05e8390422727c84ad1ab09a990c74ef /default.nix
parent03e03a7cbda232d1e8581231aefe632072665194 (diff)
default.nix: ${user-name} top-level dirs
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/default.nix b/default.nix
index 49e889924..77c5ead22 100644
--- a/default.nix
+++ b/default.nix
@@ -4,10 +4,10 @@ let
eval = import <nixpkgs/nixos/lib/eval-config.nix> {
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"
];
};