feat: Allow input from derivation

This commit is contained in:
2025-07-18 02:07:18 -06:00
parent 0ffadfcb3e
commit 0cddfbd3c9
2 changed files with 5 additions and 4 deletions

View File

@@ -147,6 +147,7 @@
nix = { nix = {
settings = { settings = {
allow-import-from-derivation = true;
trusted-users = [ trusted-users = [
"@wheel" "@wheel"
]; ];

View File

@@ -16,10 +16,10 @@ let users = builtins.readDir ../users;
# TODO: Move to default module. # TODO: Move to default module.
({ lib, ... }: { ({ lib, ... }: {
nix = { nix.settings = {
settings.experimental-features = experimental-features =
lib.mkDefault lib.mkDefault [ "nix-command" "flakes" ];
[ "nix-command" "flakes" ]; allow-import-from-derivation = true;
}; };
}) })
]; ];