From 2a975630b0ee1dc9e1322f3a35173459af6b5a46 Mon Sep 17 00:00:00 2001 From: ahirner Date: Thu, 17 Oct 2024 04:33:07 +0200 Subject: [PATCH] keep our own flake registry setting not a long-term solution: https://github.com/LnL7/nix-darwin/issues/1082#issuecomment-2358489238 --- templates/pure-system/flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/pure-system/flake.nix b/templates/pure-system/flake.nix index af06820..fb16cf6 100644 --- a/templates/pure-system/flake.nix +++ b/templates/pure-system/flake.nix @@ -73,6 +73,12 @@ hmDefaults {nixpkgs.hostPlatform = "x86_64-darwin";} {system.stateVersion = 5;} + { + nixpkgs.flake = { + setFlakeRegistry = false; + setNixPath = false; + }; + } pureSystem ]; };