aboutsummaryrefslogtreecommitdiff
path: root/modules/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/default.nix')
-rw-r--r--modules/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/default.nix b/modules/default.nix
index bfa1760..a8ac000 100644
--- a/modules/default.nix
+++ b/modules/default.nix
@@ -1,10 +1,9 @@
{ inputs }:
let
- genModules = { type, modules }:
- builtins.map (module: "${inputs.self}/modules/${type}/${module}") modules;
+ genModules =
+ { type, modules }: builtins.map (module: "${inputs.self}/modules/${type}/${module}") modules;
- mkModules = moduleAttrList:
- builtins.concatMap (moduleAttr: genModules moduleAttr) moduleAttrList;
+ mkModules = moduleAttrList: builtins.concatMap (moduleAttr: genModules moduleAttr) moduleAttrList;
in
{
mkSystem = hostname: nixpkgsVersion: modules: {