From d8f329093e57bf7e1889551bebc9c09f472ee949 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 19 May 2013 14:54:28 +0200 Subject: common: Add fixed axbo SPAC udev device name rule. This is useful in order to set the device symlink to /dev/axbo and to ensure that the owner is user "aszlig" (maybe this should be a group called axbo? but we can change that later) Signed-off-by: aszlig --- common.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common.nix b/common.nix index ea6b0286..ad7cb12a 100644 --- a/common.nix +++ b/common.nix @@ -89,6 +89,11 @@ drivers = [ pkgs.foo2zjs pkgs.foomatic_filters ]; }; + udev.extraRules = '' + SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", \ + ATTRS{serial}=="0001", OWNER="aszlig", SYMLINK+="axbo" + ''; + xserver = { enable = true; layout = "dvorak"; -- cgit 1.4.1