feat: allow .nix.age files to contain functions or bare attrs

This commit is contained in:
oddlama 2023-03-15 02:29:14 +01:00
parent 5bf0935eb2
commit 3111408f7d
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
6 changed files with 37 additions and 30 deletions

View file

@ -11,7 +11,7 @@ all commands using these extra parameters, or permanently add the following the
2. Run all commands with `--option plugin-files "$NIX_PLUGINS"/lib/nix/plugins --option extra-builtins-file ./nix/extra-builtins.nix`
or permantently
```nix
```toml
plugin-files = <copy path from $NIX_PLUGINS>/lib/nix/plugins
extra-builtins-file = /path/to/nix-config/nix/extra-builtins.nix
```