From 31295ab3b85ed208cc717773754a2093d0c81668 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Thu, 12 Nov 2020 21:27:00 +0100 Subject: [PATCH] translate-iso: add some documentation --- images/translate-setup/README.md | 21 +++++++++++++++++++++ images/translate-setup/config.nix | 5 ++--- 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 images/translate-setup/README.md diff --git a/images/translate-setup/README.md b/images/translate-setup/README.md new file mode 100644 index 0000000..d69c570 --- /dev/null +++ b/images/translate-setup/README.md @@ -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 +``` diff --git a/images/translate-setup/config.nix b/images/translate-setup/config.nix index bb6703c..a1be3e3 100644 --- a/images/translate-setup/config.nix +++ b/images/translate-setup/config.nix @@ -2,9 +2,8 @@ imports = [ ./x11.nix ]; - # no wifi - networking.networkmanager.enable = true; - #networking.wireless.enable = true; + #networking.networkmanager.enable = true; + #networking.wireless.enable = false; # configuration environment.extraInit = ''