From 01b7193fe96487a7cce548e3c19ffed3fa1cb2bd Mon Sep 17 00:00:00 2001 From: Cole Mickens Date: Sun, 25 Oct 2020 16:57:59 -0700 Subject: [PATCH] add copy/pastable build command for the nixos config --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index baa1648..540c785 100644 --- a/README.md +++ b/README.md @@ -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`: