From 868d765950c2736601528deb5843a0addc9abe37 Mon Sep 17 00:00:00 2001 From: Alain Lehmann Date: Sun, 15 Oct 2023 23:19:22 +0200 Subject: [PATCH] improve documentation --- README.md | 3 ++- example/configuration.nix | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 51bf790..be0fd96 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,8 @@ automate as much as possible for a simple automation setup. - create a nix flake with a nixosConfiguration defined - the ./example folder provides a flake with minimal example config - - use it with `nix new -t github:ciderale/nixos-utm my-utm-vm` + - use it with `nix flake new -t github:ciderale/nixos-utm my-utm-vm` + - adjust ./configuration.nix (atleast set your ssh public key) - define an environment variable VM_NAME to name the UTM VM - maybe configure this env var within your project/system setup - kickoff the installation process with the following command diff --git a/example/configuration.nix b/example/configuration.nix index 05abcbe..4ecf09a 100644 --- a/example/configuration.nix +++ b/example/configuration.nix @@ -11,7 +11,7 @@ services.openssh.enable = true; users.users.root.openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPKyKsE4eCn8BDnJZNmFttaCBmVUhO73qmhguEtNft6y alain.lehmann@gmail.com" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPKyKsE4eCn8BDnJZNmFttaCBmVUhO73qmhguEtNft6y" ]; system.stateVersion = "23.11";