mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 19:47:47 +00:00
Update docs
This commit is contained in:
parent
24b7cf49f8
commit
b4d0ccfe17
2 changed files with 3 additions and 5 deletions
|
@ -11,9 +11,7 @@ Here is the script you need to run to get this working:
|
|||
> imports it, so you will need to run `sudo nixos-generate-config` if you've deleted them.
|
||||
|
||||
```sh
|
||||
nix-shell -p git --command "git clone https://github.com/RGBCube/NixOSConfiguration && cd NixOSConfiguration"
|
||||
|
||||
nix-shell -p git nix-output-monitor nu --command "nu rebuild.nu <machine-name>"
|
||||
TODO
|
||||
```
|
||||
|
||||
`machine-name` is a machine selected from the machines in the `machines` directory.
|
||||
|
@ -46,7 +44,7 @@ Flags:
|
|||
|
||||
Parameters:
|
||||
machine <string>: The machine to build. (optional, default: '')
|
||||
...arguments <any>: Extra arguments to pass to nixos-rebuild.
|
||||
...arguments <any>: The arguments to pass to `nix system apply`.
|
||||
```
|
||||
|
||||
## License
|
||||
|
|
|
@ -6,7 +6,7 @@ def complete [] {
|
|||
|
||||
def main --wrapped [
|
||||
machine: string@complete = "" # The machine to build.
|
||||
...arguments
|
||||
...arguments # The arguments to pass to `nix system apply`.
|
||||
] {
|
||||
let flags = $arguments | append [
|
||||
"--option accept-flake-config true"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue