diff options
Diffstat (limited to 'modules/default.nix')
-rw-r--r-- | modules/default.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/default.nix b/modules/default.nix index 91ab291..6bf0abf 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -1,9 +1,6 @@ { inputs }: let - genModules = - { type, modules }: builtins.map (module: "${inputs.self}/modules/${type}/${module}") modules; - - mkModules = moduleAttrList: builtins.concatMap (moduleAttr: genModules moduleAttr) moduleAttrList; + mkModules = modules: builtins.map (module: "${inputs.self}/modules/${module}") modules; in { mkSystem = hostname: system: nixpkgsVersion: modules: rec { |