gn fr this time
This commit is contained in:
parent
24ceb47775
commit
34b5b40e49
1 changed files with 19 additions and 1 deletions
20
README.md
20
README.md
|
@ -127,7 +127,25 @@ For your ssh key, place it in `~/.ssh` and create a symlink for the root user.
|
||||||
sudo ln -sf /home/nixos/.ssh /root/.ssh
|
sudo ln -sf /home/nixos/.ssh /root/.ssh
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 3. Run the installation script
|
#### 3. Update the flake input for your secret
|
||||||
|
|
||||||
|
In `flake.nix`, replace
|
||||||
|
```nix
|
||||||
|
inputs = {
|
||||||
|
secrets.url = "git+ssh://git@git.caem.dev/caem/secrets";
|
||||||
|
```
|
||||||
|
with your url.
|
||||||
|
```nix
|
||||||
|
inputs = {
|
||||||
|
secrets.url = "git+ssh://git@git.example.com/username/secrets";
|
||||||
|
```
|
||||||
|
|
||||||
|
#### 4. Update flake.lock (optional)
|
||||||
|
```sh
|
||||||
|
nix --extra-experimental-features 'nix-command flakes' flake update
|
||||||
|
```
|
||||||
|
|
||||||
|
#### 5. Run the installation script
|
||||||
```sh
|
```sh
|
||||||
./install.sh --host [your host] --device [the device to install NixOS on]
|
./install.sh --host [your host] --device [the device to install NixOS on]
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue