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