diff --git a/Droidnix/README.org b/Droidnix/README.org index 4088edba1..7f458803d 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -142,7 +142,7 @@ let allModules = hostModules.imports ++ globalUsers.imports; # Merge all _module.args.hmUsers from each module - allHmUsers = lib.foldl' (acc m: acc // (m._module.args.hmUsers or {})) {} allModules; + allHmUsers = lib.foldl' (acc: m: acc // (m._module.args.hmUsers // {})) {} allModules; in { diff --git a/Droidnix/generated/hosts/traveldroid/host.nix b/Droidnix/generated/hosts/traveldroid/host.nix index ca1b8219d..a2d2669eb 100644 --- a/Droidnix/generated/hosts/traveldroid/host.nix +++ b/Droidnix/generated/hosts/traveldroid/host.nix @@ -12,7 +12,7 @@ let allModules = hostModules.imports ++ globalUsers.imports; # Merge all _module.args.hmUsers from each module - allHmUsers = lib.foldl' (acc m: acc // (m._module.args.hmUsers or {})) {} allModules; + allHmUsers = lib.foldl' (acc: m: acc // (m._module.args.hmUsers // {})) {} allModules; in {