From e4f5655c8806c223ed9d540843b400b9329b9cef Mon Sep 17 00:00:00 2001
From: jopejoe1 <johannes@joens.email>
Date: Tue, 12 Nov 2024 22:36:51 +0100
Subject: [PATCH] add required nixConfig option

---
 flake.nix | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/flake.nix b/flake.nix
index b787f78..7295b4c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,6 +1,10 @@
 {
   description = "CCCHH Nix Infrastructure";
 
+  nixConfig = {
+    allow-import-from-derivation = true;
+  };
+
   inputs = {
     # Use the NixOS small channels for nixpkgs.
     # https://nixos.org/manual/nixos/stable/#sec-upgrading