about summary refs log tree commit diff
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-11-16 20:40:36 +0100
committeraszlig <aszlig@redmoonstudios.org>2015-11-16 20:41:51 +0100
commit80b33c2a8f0cd0adf9b7edf6b9d83add58d63fd4 (patch)
treeca3b219bc6fd20f8905a0f1a6a16eb810510069d
parent40fe420d75450d89a3b15c588102faf1e441e750 (diff)
parentce46c6614f8c21583d9b124c6fa4f26a74470906 (diff)
Merge pull request #8 from Profpatsch/master.
Documents the setup procedure a bit.

While I don't like it being in README.md and would rather have it in the
manual, it's better to have *anything* rather than nothing at all.

Thanks @Profpatsch.
-rw-r--r--README.md23
-rw-r--r--machines/labnet/labtop.nix2
2 files changed, 24 insertions, 1 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
diff --git a/machines/labnet/labtop.nix b/machines/labnet/labtop.nix
index 6bb7490c..2b7d9317 100644
--- a/machines/labnet/labtop.nix
+++ b/machines/labnet/labtop.nix
@@ -84,7 +84,7 @@ in {
     displayManager.auto.enable = true;
     displayManager.auto.user = "openlab";
     desktopManager.xfce.enable = true;
- 
+
     synaptics.enable = true;
     synaptics.minSpeed = "0.5";
     synaptics.accelFactor = "0.01";