mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-10 07:58:30 +01:00
system(nix): Forbid import from derivation
Helps prevent issues where we accidentally use an import from derivation and cause flakes with multiple platforms to fail when running things like `nix flake check`.
This commit is contained in:
parent
3b25740fb1
commit
79401e029b
@ -96,6 +96,7 @@ in
|
||||
experimental-features = [ "nix-command" "flakes" "repl-flake" ];
|
||||
auto-optimise-store = true;
|
||||
warn-dirty = false;
|
||||
allow-import-from-derivation = false;
|
||||
|
||||
trusted-users = [
|
||||
"root"
|
||||
|
Loading…
Reference in New Issue
Block a user