readme update

main
Robert Gerus 2023-12-01 22:36:58 +01:00
parent 1c4694ef9d
commit 5ba369a226
1 changed files with 1 additions and 7 deletions

View File

@ -20,13 +20,7 @@ $ echo -e "{ config, lib, pkgs, inputs, ... }:\n\n{\n}" > modules/new-module.nix
```
$ mkdir nixos/newhost
$ echo -e "{ config, lib, pkgs, inputs, ... }:\n\n{\n}" > nixos/newhost/default.nix
$ echo -n aarch64-linux > nixos/newhost/system
```
Please remember about the `-n` flag. Otherwise you'll see Nix throw a funny
error at you, like:
```
error: Unknown kernel: linux
$ echo '{"publicKey": "…", "targetHost": "…", "system": "aarch64-linux"}' | jq -rM > nixos/newhost/meta.json
```
### Exploring generated configurations