diff options
author | tv <tv@shackspace.de> | 2015-07-27 04:37:56 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-07-27 04:37:56 +0200 |
commit | 9303ab870cda5c110929cc206e0f96f506f25879 (patch) | |
tree | 6492febd05e8390422727c84ad1ab09a990c74ef | |
parent | 03e03a7cbda232d1e8581231aefe632072665194 (diff) |
default.nix: ${user-name} top-level dirs
-rw-r--r-- | default.nix | 8 |
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" ]; }; |