diff --git a/README.md b/README.md index 46b21a6..8cb9b7c 100644 --- a/README.md +++ b/README.md @@ -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 " +TODO ``` `machine-name` is a machine selected from the machines in the `machines` directory. @@ -46,7 +44,7 @@ Flags: Parameters: machine : The machine to build. (optional, default: '') - ...arguments : Extra arguments to pass to nixos-rebuild. + ...arguments : The arguments to pass to `nix system apply`. ``` ## License diff --git a/rebuild.nu b/rebuild.nu index 5ed3b31..e30f5ed 100755 --- a/rebuild.nu +++ b/rebuild.nu @@ -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"