From 581b132852c492f55a5cc6c657a3d24171708d2e Mon Sep 17 00:00:00 2001 From: tdback Date: Fri, 17 Jan 2025 19:26:25 -0500 Subject: feat: add ability to specify system in mkSystem. add loki server --- modules/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/default.nix') 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" -- cgit v1.2.3