about summary refs log tree commit diff
path: root/common-workstation.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2014-12-16 13:47:58 +0100
committeraszlig <aszlig@redmoonstudios.org>2014-12-16 13:47:58 +0100
commit9ad10794d1e471f935927b5bf158a0fc4773bbbb (patch)
tree525aaced3316d1cf958754229a3df1e9ab7207ab /common-workstation.nix
parent9d04db25bb94217d003d0eae5247a2243deb3796 (diff)
common-workstation: Fix udev extraRules.
Using # at the end of rules doesn't seem to be accepted by udev, so
let's use lines beginning with #.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'common-workstation.nix')
-rw-r--r--common-workstation.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/common-workstation.nix b/common-workstation.nix
index 3c8005fb..55cfdb87 100644
--- a/common-workstation.nix
+++ b/common-workstation.nix
@@ -87,10 +87,12 @@ in {
     printing.enable = true;
 
     udev.extraRules = ''
+      # aXbo S.P.A.C.
       SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", \
         ATTRS{serial}=="0001", OWNER="aszlig", SYMLINK+="axbo"
+      # Enttec DMX device
       SUBSYSTEM=="usb*|tty", ACTION=="add|change", ATTRS{idVendor}=="0403", \
-        ATTRS{idProduct}=="6001", OWNER="aszlig" # Enttec
+        ATTRS{idProduct}=="6001", OWNER="aszlig"
     '';
 
     virtualboxHost.enable = true;