From 53e12f1c6eced297bb3cfbf5052ff45075b14aab Mon Sep 17 00:00:00 2001 From: Mark Dickie Date: Mon, 24 Nov 2025 11:17:15 +0100 Subject: [PATCH] Fix for recursion --- flake.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index f104ae6..ab9a6e3 100644 --- a/flake.nix +++ b/flake.nix @@ -33,8 +33,9 @@ options.omarchy = (import ./config.nix lib).omarchyOptions; config = { - _module.args.pkgs = let - system = pkgs.stdenv.hostPlatform.system; + _module.args.pkgs = + let + system = config.nixpkgs.system or builtins.currentSystem; overlays = config.nixpkgs.overlays or []; configOpts = config.nixpkgs.config or {}; in -- 2.51.2