mirror of
https://github.com/ciderale/nixos-utm.git
synced 2024-12-14 11:37:37 +00:00
improve documentation
This commit is contained in:
parent
5f20067c2a
commit
868d765950
2 changed files with 3 additions and 2 deletions
|
@ -14,7 +14,8 @@ automate as much as possible for a simple automation setup.
|
||||||
|
|
||||||
- create a nix flake with a nixosConfiguration defined
|
- create a nix flake with a nixosConfiguration defined
|
||||||
- the ./example folder provides a flake with minimal example config
|
- 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
|
- define an environment variable VM_NAME to name the UTM VM
|
||||||
- maybe configure this env var within your project/system setup
|
- maybe configure this env var within your project/system setup
|
||||||
- kickoff the installation process with the following command
|
- kickoff the installation process with the following command
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
users.users.root.openssh.authorizedKeys.keys = [
|
users.users.root.openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPKyKsE4eCn8BDnJZNmFttaCBmVUhO73qmhguEtNft6y alain.lehmann@gmail.com"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPKyKsE4eCn8BDnJZNmFttaCBmVUhO73qmhguEtNft6y"
|
||||||
];
|
];
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
|
|
Loading…
Reference in a new issue