diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/default.nix b/modules/default.nix index a8ac000..21e86fc 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -6,9 +6,9 @@ let mkModules = moduleAttrList: builtins.concatMap (moduleAttr: genModules moduleAttr) moduleAttrList; in { - mkSystem = hostname: nixpkgsVersion: modules: { + mkSystem = hostname: system: nixpkgsVersion: modules: { ${hostname} = nixpkgsVersion.lib.nixosSystem { - system = "x86_64-linux"; + system = system; modules = (mkModules modules) ++ [ "${inputs.self}/hosts/${hostname}" "${inputs.self}/modules/users" |