translate-iso: add some documentation

This commit is contained in:
Ingolf Wagner 2020-11-12 21:27:00 +01:00
parent 3ea7ed0b98
commit 31295ab3b8
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 23 additions and 3 deletions

View file

@ -0,0 +1,21 @@
# Create a easy to use Image for translation
using [nixos-generators](https://github.com/nix-community/nixos-generators).
## generate easy to use iso
```
nixos-generate -f install-iso -c config.nix
```
## generate vmware image
```
nixos-generate -f vmware -c config.nix
```
## run locally using qcow
```
nixos-generate --run -c config.nix
```

View file

@ -2,9 +2,8 @@
imports = [ ./x11.nix ]; imports = [ ./x11.nix ];
# no wifi #networking.networkmanager.enable = true;
networking.networkmanager.enable = true; #networking.wireless.enable = false;
#networking.wireless.enable = true;
# configuration # configuration
environment.extraInit = '' environment.extraInit = ''