Merge pull request #121 from nix-community/flakes

README: expand installation methods
This commit is contained in:
Lassulus 2021-11-06 10:31:35 +01:00 committed by GitHub
commit a3924b7ab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 7 deletions

View File

@ -20,12 +20,20 @@ or mount & boot in a virtual machine.
# Installation
nixos-generators can be installed from source into the user profile like this:
nixos-generators is part of [nixpkgs](https://search.nixos.org/packages?channel=unstable&show=nixos-generators&from=0&size=50&sort=relevance&type=packages&query=nixos-generator) and can be installed from there.
nixos-generators can be also installed from source into the user profile like this:
```console
nix-env -f https://github.com/nix-community/nixos-generators/archive/master.tar.gz -i
```
or run from the nix flake without installing:
```
nix run github:nix-community/nixos-generators -- --help
```
## Supported formats
format | description

View File

@ -2,11 +2,11 @@
"nodes": {
"nixlib": {
"locked": {
"lastModified": 1624753224,
"narHash": "sha256-ZUEcPzgU1w8ZYeEgfcpzeciYcZShQZbEfRN2tV+K2yQ=",
"lastModified": 1635640270,
"narHash": "sha256-7VRyUAgl/Aqh70fkx904zciroUnz1cIUu0MqMaVu1pU=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "7b4dc08734c5c4703b22b9c780417042e1c8f020",
"rev": "21595a2653dd84bbde02dadb0847a1bbb98a2663",
"type": "github"
},
"original": {
@ -17,11 +17,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1619285658,
"narHash": "sha256-GKbj/KKo8Z2WsEURFtWHbPI917NrUnD4H2J4lKUsSWI=",
"lastModified": 1635934775,
"narHash": "sha256-DUkBfZjgeefgqyvFxnkZiOOWXgHP5Y1oKp/Zm+LT05Y=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "118485230c02d13f62133bce43177ffd49495694",
"rev": "4789953e5c1ef6d10e3ff437e5b7ab8eed526942",
"type": "github"
},
"original": {