Skip to content

Commit

Permalink
Replace numtide with nix-community
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol authored and mergify[bot] committed Nov 23, 2023
1 parent 5317af5 commit 9c3de7d
Show file tree
Hide file tree
Showing 15 changed files with 51 additions and 51 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**_Install NixOS everywhere via ssh_**

<img src="https://raw.githubusercontent.com/numtide/nixos-anywhere/main/docs/logo.png" width="150" height="150">
<img src="https://raw.githubusercontent.com/nix-community/nixos-anywhere/main/docs/logo.png" width="150" height="150">

[Documentation Index](docs/INDEX.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/INDEX.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**_Install NixOS everywhere via ssh_**

<img title="" src="https://raw.githubusercontent.com/numtide/nixos-anywhere/main/docs/logo.png" alt="" width="149">
<img title="" src="https://raw.githubusercontent.com/nix-community/nixos-anywhere/main/docs/logo.png" alt="" width="149">

- [README](../README.md)
- [Quickstart](./quickstart.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**_Install NixOS everywhere via ssh_**

<img title="" src="https://raw.githubusercontent.com/numtide/nixos-anywhere/main/docs/logo.png" alt="" width="149">
<img title="" src="https://raw.githubusercontent.com/nix-community/nixos-anywhere/main/docs/logo.png" alt="" width="149">

The **nixos-anywhere** tool allows you to pre-configure the whole process of
installing NixOS, and run the install remotely with a single CLI command.
Expand Down
2 changes: 1 addition & 1 deletion docs/howtos/INDEX.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**_Install NixOS everywhere via ssh_**

<img title="" src="https://raw.githubusercontent.com/numtide/nixos-anywhere/main/docs/logo.png" alt="" width="129">
<img title="" src="https://raw.githubusercontent.com/nix-community/nixos-anywhere/main/docs/logo.png" alt="" width="129">

[Documentation Index](./INDEX.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/howtos/custom-kexec.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Here's an example command that demonstrates how to use a custom kexec image with
`nixos-anywhere`:

```
nix run github:numtide/nixos-anywhere -- \
nix run github:nix-community/nixos-anywhere -- \
--kexec "$(nix build --print-out-paths github:nix-community/nixos-images#packages.aarch64-linux.kexec-installer-nixos-unstable-noninteractive)/nixos-kexec-installer-noninteractive-aarch64-linux.tar.gz" \
--flake 'github:your-user/your-repo#your-system' \
root@yourip
Expand Down
2 changes: 1 addition & 1 deletion docs/howtos/no-os.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ ssh -v nixos@fec0::5054:ff:fe12:3456
You can then use the IP address to run `nixos-anywhere` like this:

```
nix run github:numtide/nixos-anywhere -- --flake '.#myconfig' nixos@fec0::5054:ff:fe12:3456
nix run github:nix-community/nixos-anywhere -- --flake '.#myconfig' nixos@fec0::5054:ff:fe12:3456
```

This example assumes a flake in the curent directory containing a configuration
Expand Down
2 changes: 1 addition & 1 deletion docs/howtos/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ You can add this expression the `packages` list in your devshell in flake.nix or
in shell.nix.

Checkout out the
[module reference](https://github.com/numtide/nixos-anywhere/tree/main/terraform)
[module reference](https://github.com/nix-community/nixos-anywhere/tree/main/terraform)
for examples and module parameter on how to use the modules.
20 changes: 10 additions & 10 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**_Install NixOS everywhere via ssh_**

<img src="https://raw.githubusercontent.com/numtide/nixos-anywhere/main/docs/logo.png" width="150" height="150">
<img src="https://raw.githubusercontent.com/nix-community/nixos-anywhere/main/docs/logo.png" width="150" height="150">

[Documentation Index](./INDEX.md)

Expand All @@ -25,7 +25,7 @@ You will need:
the privilege to either login directly as root or to use password-less sudo.

**nixos-anywhere** doesn’t need to be installed. You can run it directly from
[Numtide's repository on Github.](https://github.com/numtide/nixos-anywhere)
[Numtide's repository on Github.](https://github.com/nix-community/nixos-anywhere)

Details of the flake, the disk configuration and the CLI command are discussed
below.
Expand All @@ -40,7 +40,7 @@ below.
2. **Initialize a Flake**:

The easiest way to start is to copy our
[example flake.nix](https://github.com/numtide/nixos-anywhere-examples/blob/main/flake.nix)
[example flake.nix](https://github.com/nix-community/nixos-anywhere-examples/blob/main/flake.nix)

This comment has been minimized.

Copy link
@sedlund

sedlund Nov 25, 2023

Contributor

Is the nixos-anywhere-examples repo going to make the move over to nix-community? currently all links to this repo are broken.

This comment has been minimized.

Copy link
@phaer

phaer Nov 25, 2023

Member

good catch, thanks: #253

into a new directory. This example is tailored for a virtual machine setup
similar to one on [Hetzner Cloud](https://www.hetzner.com/cloud), so you
might need to adapt it for your setup.
Expand Down Expand Up @@ -68,7 +68,7 @@ below.

3. **Find SSH Key Line**:\
if you cloned
[our nixos-anywhere-example](https://github.com/numtide/nixos-anywhere-examples/blob/main/configuration.nix)
[our nixos-anywhere-example](https://github.com/nix-community/nixos-anywhere-examples/blob/main/configuration.nix)
you will also replace the SSH key like this: In your configuration, locate
the line that reads:

Expand All @@ -84,7 +84,7 @@ below.
used to specify the disk layout to the **disko** tool, which nixos-anywhere
uses to partition, format and mount the disks. Again, for a simple
installation you can paste the contents from the example
[here](https://github.com/numtide/nixos-anywhere-examples/blob/main/disk-config.nix).
[here](https://github.com/nix-community/nixos-anywhere-examples/blob/main/disk-config.nix).
This configures a standard GPT (GUID Partition Table) partition compatible
with both EFI and BIOS systems, and mounts the disk as `/dev/sda`. If this
doesn’t meet your requirements, choose an example that suits your disk layout
Expand Down Expand Up @@ -117,10 +117,10 @@ below.
- `<configuration name>` must match the name that immediately follows the
text `nixosConfigurations.` in the flake, as indicated by the comment in
the
[example](https://github.com/numtide/nixos-anywhere-examples/blob/main/flake.nix)).
[example](https://github.com/nix-community/nixos-anywhere-examples/blob/main/flake.nix)).

```
nix run github:numtide/nixos-anywhere -- --flake <path to configuration>#<configuration name> --vm-test
nix run github:nix-community/nixos-anywhere -- --flake <path to configuration>#<configuration name> --vm-test
```

8. You can now run **nixos-anywhere** from the command line as shown below,
Expand All @@ -132,20 +132,20 @@ below.
- `<configuration name>` must match the name that immediately follows the
text `nixosConfigurations.` in the flake, as indicated by the comment in
the
[example](https://github.com/numtide/nixos-anywhere-examples/blob/main/flake.nix)).
[example](https://github.com/nix-community/nixos-anywhere-examples/blob/main/flake.nix)).

- `<ip address>` is the IP address of the target machine.

```
nix run github:numtide/nixos-anywhere -- --flake <path to configuration>#<configuration name> root@<ip address>
nix run github:nix-community/nixos-anywhere -- --flake <path to configuration>#<configuration name> root@<ip address>
```
The command would look  like this if you had created your files in a
directory named `/home/mydir/test` and the IP address of your target
machine is `37.27.18.135`:
```
nix run github:numtide/nixos-anywhere -- --flake /home/mydir/test#hetzner-cloud root@37.27.18.135
nix run github:nix-community/nixos-anywhere -- --flake /home/mydir/test#hetzner-cloud root@37.27.18.135
```
**nixos-anywhere** will then run, showing various output messages at each
Expand Down
Loading

0 comments on commit 9c3de7d

Please sign in to comment.