Add instructions how to install a new host
This commit is contained in:
parent
7ae83a57c6
commit
bc198b7f3f
1 changed files with 8 additions and 0 deletions
|
|
@ -1,3 +1,10 @@
|
|||
## Install a new host
|
||||
|
||||
This installs nixos on host `somehost`:
|
||||
```bash
|
||||
nix-shell -p nixUnstable --run 'nixos-install --flake https://gitlab.jalr.de/jalr/nixos-configuration#somehost --no-channel-copy'
|
||||
```
|
||||
|
||||
## nix repl
|
||||
start an interactive environment for evaluating Nix expressions
|
||||
|
||||
|
|
@ -11,6 +18,7 @@ nix-repl> a=builtins.getFlake (toString ./.)
|
|||
$ nix repl
|
||||
|
||||
nix-repl> :lf .#
|
||||
```
|
||||
|
||||
|
||||
## Import GPG public key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue