fix(post): hopefully fixed inline code
This commit is contained in:
parent
99e04536a1
commit
c9679d6b79
1 changed files with 3 additions and 3 deletions
|
@ -19,12 +19,12 @@ So I quickly looked into ways of installing NixOS and I discovered two Methods:
|
||||||
## Installing NixOS
|
## Installing NixOS
|
||||||
NixOS-Infect is pretty simple:
|
NixOS-Infect is pretty simple:
|
||||||
First, add your public ssh key to the root user like this:
|
First, add your public ssh key to the root user like this:
|
||||||
`echo "<your ssh key>" >> /root/.ssh/authorized_keys`.
|
```echo "<your ssh key>" >> /root/.ssh/authorized_keys```.
|
||||||
|
|
||||||
After that just run the shell script by running the following:
|
After that just run the shell script by running the following:
|
||||||
`curl https://raw.githubusercontent.com/elitak/nixos-infect/master/nixos-infect | NIX_CHANNEL=nixos-<nixos version> bash -x`.
|
```curl https://raw.githubusercontent.com/elitak/nixos-infect/master/nixos-infect | NIX_CHANNEL=nixos-<nixos version> bash -x```.
|
||||||
At the time of writing the latest NixOS version is 24.11, so I entered the following:
|
At the time of writing the latest NixOS version is 24.11, so I entered the following:
|
||||||
`curl https://raw.githubusercontent.com/elitak/nixos-infect/master/nixos-infect | NIX_CHANNEL=nixos-24.11 bash -x`.
|
```curl https://raw.githubusercontent.com/elitak/nixos-infect/master/nixos-infect | NIX_CHANNEL=nixos-24.11 bash -x```.
|
||||||
The script will automatically reboot your server and after it finished startup, You can login as the root user using the SSH-key you set up before.
|
The script will automatically reboot your server and after it finished startup, You can login as the root user using the SSH-key you set up before.
|
||||||
|
|
||||||
## Configuring afterwards
|
## Configuring afterwards
|
||||||
|
|
Loading…
Add table
Reference in a new issue