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:
parent
de44fe0372
commit
46056634ac
2 changed files with 2 additions and 20 deletions
20
README.md
20
README.md
|
@ -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
|
||||
|
||||
|
|
|
@ -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)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue