mirror of
https://github.com/nix-community/nixos-anywhere.git
synced 2024-09-11 16:45:28 +03:00
47 lines
2.0 KiB
Markdown
47 lines
2.0 KiB
Markdown
# Nix-build
|
|
|
|
Small helper module to run do build a flake attribute or attribute from a nix
|
|
file.
|
|
|
|
## Example
|
|
|
|
- See [install](install.md) or [nixos-rebuild](nixos-rebuild.md)
|
|
|
|
<!-- BEGIN_TF_DOCS -->
|
|
|
|
## Requirements
|
|
|
|
No requirements.
|
|
|
|
## Providers
|
|
|
|
| Name | Version |
|
|
| --------------------------------------------------------------- | ------- |
|
|
| <a name="provider_external"></a> [external](#provider_external) | n/a |
|
|
|
|
## Modules
|
|
|
|
No modules.
|
|
|
|
## Resources
|
|
|
|
| Name | Type |
|
|
| --------------------------------------------------------------------------------------------------------------------------- | ----------- |
|
|
| [external_external.nix-build](https://registry.terraform.io/providers/hashicorp/external/latest/docs/data-sources/external) | data source |
|
|
|
|
## Inputs
|
|
|
|
| Name | Description | Type | Default | Required |
|
|
| ------------------------------------------------------------------- | -------------------------------------------------- | ------------- | ------- | :------: |
|
|
| <a name="input_attribute"></a> [attribute](#input_attribute) | the attribute to build, can also be a flake | `string` | n/a | yes |
|
|
| <a name="input_file"></a> [file](#input_file) | the nix file to evaluate, if not run in flake mode | `string` | `null` | no |
|
|
| <a name="input_nix_options"></a> [nix\_options](#input_nix_options) | the options of nix | `map(string)` | `null` | no |
|
|
|
|
## Outputs
|
|
|
|
| Name | Description |
|
|
| ----------------------------------------------------- | ----------- |
|
|
| <a name="output_result"></a> [result](#output_result) | n/a |
|
|
|
|
<!-- END_TF_DOCS -->
|