default.nix: ${user-name} top-level dirs

This commit is contained in:
tv 2015-07-27 04:37:56 +02:00
parent 03e03a7cbd
commit 9303ab870c

View File

@ -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"
];
};