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 = {
settings = {
allow-import-from-derivation = true;
trusted-users = [
"@wheel"
];

View File

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