From f38400d95978fba42adc8609ad4aa381f05a7535 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Sun, 7 Jul 2024 01:49:24 +0100 Subject: [PATCH] flake: disable `allow-import-from-derivation` Unfortunately this will print a confirmation when first using the flake: ``` do you want to allow configuration setting 'allow-import-from-derivation' to be set to 'false' (y/N)? ``` This is no different to the cachix configs though, so probably no big deal. --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index 3b06a362..9bc41c1c 100644 --- a/flake.nix +++ b/flake.nix @@ -71,6 +71,7 @@ extra-trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; + allow-import-from-derivation = false; }; outputs =