From c1100a67eb04d16e6bc63e76c00c9e9ff52bb917 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Mon, 14 Jul 2025 00:49:01 +0800 Subject: [PATCH] feat(darwin): Allow unsupported systems for darwin --- nix/modules/machine/platform.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nix/modules/machine/platform.nix b/nix/modules/machine/platform.nix index 62db2d1..a1c5b05 100644 --- a/nix/modules/machine/platform.nix +++ b/nix/modules/machine/platform.nix @@ -11,5 +11,10 @@ boot.kernelModules = [ "kvm-${platform}" ]; nixpkgs.hostPlatform = "${arch}-linux"; }; - flake.modules.darwin.default.nixpkgs.hostPlatform = "x86_64-darwin"; + + flake.modules.darwin.default.nixpkgs = { + hostPlatform = "x86_64-darwin"; + config.allowUnsupportedSystem = true; + }; + }