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.
|
> imports it, so you will need to run `sudo nixos-generate-config` if you've deleted them.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
nix-shell -p git --command "git clone https://github.com/RGBCube/NixOSConfiguration && cd NixOSConfiguration"
|
TODO
|
||||||
|
|
||||||
nix-shell -p git nix-output-monitor nu --command "nu rebuild.nu <machine-name>"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
`machine-name` is a machine selected from the machines in the `machines` directory.
|
`machine-name` is a machine selected from the machines in the `machines` directory.
|
||||||
|
@ -46,7 +44,7 @@ Flags:
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
machine <string>: The machine to build. (optional, default: '')
|
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
|
## License
|
||||||
|
|
|
@ -6,7 +6,7 @@ def complete [] {
|
||||||
|
|
||||||
def main --wrapped [
|
def main --wrapped [
|
||||||
machine: string@complete = "" # The machine to build.
|
machine: string@complete = "" # The machine to build.
|
||||||
...arguments
|
...arguments # The arguments to pass to `nix system apply`.
|
||||||
] {
|
] {
|
||||||
let flags = $arguments | append [
|
let flags = $arguments | append [
|
||||||
"--option accept-flake-config true"
|
"--option accept-flake-config true"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue