add copy/pastable build command for the nixos config

This commit is contained in:
Cole Mickens 2020-10-25 16:57:59 -07:00
parent 56e5b43122
commit 01b7193fe9
No known key found for this signature in database
GPG key ID: B475C2955744A019

View file

@ -116,6 +116,11 @@ Consider the nixos configuration in this repo:
These represent an example, minimal NixOS system configuration.
The easiest way to build it, without cloning this repo:
```
nix build 'github:colemickens/nixos-flake-example#nixosConfigurations.mysystem.config.system.build.toplevel'
```
Let's prove that we can build this config, with and without flakes:
* Using `nixos-rebuild`: