From 7a64f8d566c8896e3fb0b53b64e34a1f869708aa Mon Sep 17 00:00:00 2001 From: Dennis <52411861+DerDennisOP@users.noreply.github.com> Date: Thu, 8 Feb 2024 23:42:32 +0100 Subject: [PATCH] fix mailserver config (#83) * fix mailserver config * rpi emulate systems --- flake.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index af586fa..906d970 100644 --- a/flake.nix +++ b/flake.nix @@ -171,7 +171,6 @@ let constructSystem = { hostname, users, home ? true, iso ? [ ], modules ? [ ], server ? true, sops ? true, system ? "x86_64-linux" }: lib.nixosSystem { - inherit system; modules = [ nixos-modules.nixosModule sops-nix.nixosModules.sops @@ -194,7 +193,7 @@ ++ lib.optional (system != "x86_64-linux") { config.nixpkgs = { config.allowUnsupportedSystem = true; - crossSystem = lib.systems.examples.aarch64-multiplatform; + buildPlatform = "x86_64-linux"; }; } ++ map (user: { config, lib, pkgs, ... }@args: { users.users.${user} = import ./users/${user} (args // { name = "${user}"; });