about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2015-11-09 02:53:31 +0100
committerProfpatsch <mail@profpatsch.de>2015-11-09 02:53:31 +0100
commitce46c6614f8c21583d9b124c6fa4f26a74470906 (patch)
tree125374d3dbb21c89d58e0f51f46f21b2d1c4327c /README.md
parentebac6add8f043b304d7ac30798edc38813cbe489 (diff)
vuizvui: set-up documentation
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/README.md b/README.md
index ef842048..d94996c0 100644
--- a/README.md
+++ b/README.md
@@ -10,5 +10,28 @@ repository is for everything either too complex or not polished/generic enough
 to be pushed into [nixpkgs].
 
 Hydra builds: https://headcounter.org/hydra/jobset/openlab/vuizvui
+
 [nixpkgs]:    https://github.com/NixOS/nixpkgs
 [manual]:     https://headcounter.org/hydra/job/openlab/vuizvui/manual/latest/download/1/manual.html
+
+## Installing a machine
+
+To enable a vuizvui configuration, first set the nix channel to the corresponding channel build by the hydra, e.g.
+
+    nix-channel --add https://headcounter.org/hydra/channel/custom/openlab/vuizvui/channels.machines.labnet.labtop vuizvui
+    nix-channel --update
+
+You have to use the same channel name as is defined by the option `vuizvui.channelName`, `vuizvui` by default.
+
+Then import the `use` module in your configuration, like this:
+
+```nix
+{ pkgs, lib, ...}:
+{
+  imports = [ (import <vuizvui/machines> {}).labnet.labtop.use ];
+}
+```
+
+    nixos-rebuild switch
+
+All set.
\ No newline at end of file