1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +00:00

Update readme.md docs

This commit is contained in:
RGBCube 2024-02-04 21:06:20 +03:00
parent de44fe0372
commit 46056634ac
No known key found for this signature in database
2 changed files with 2 additions and 20 deletions

View file

@ -32,25 +32,7 @@ to your system. You would have to run the rebuild script:
This runs the script interactively.
You can also check how the script is used:
```sh
./rebuild.nu --help
```
This outputs:
```
Usage:
> rebuild.nu (host) ...(arguments)
Flags:
-h, --help - Display the help message for this command
Parameters:
host <string>: The host to build. (optional, default: '')
...arguments <any>: The arguments to pass to `nix system apply`.
```
You can also check how the script is used by reading the parameters it takes.
## License

View file

@ -6,7 +6,7 @@ def complete [] {
def main --wrapped [
host: string@complete = "" # The host to build.
...arguments # The arguments to pass to `nix system apply`.
...arguments # The arguments to pass to `nixos-rebuild switch`.
] {
let flags = [
$"--flake ('.#' + $host)"