about summary refs log tree commit diff
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-04-08 21:06:12 +0200
committeraszlig <aszlig@redmoonstudios.org>2015-04-08 21:06:12 +0200
commitadf17f636475e10e8bbd6dd736f36f3473db1556 (patch)
treef0d4446750fce178fa56bf88977560d4a625fcde
parente1563271f5d6a37bd561c093bfb134d1b25a3e27 (diff)
parente2716a721b56183f9c512af65f1601c47608fb4e (diff)
Merge pull request #2 from waaaaargh/master.
Adds the openlab user to the dialout group to allow access to 3D
printers and other USB serial devices.

This might be just temporary and in the long term we might want to use a
udev rule after all to allow access to *all* USB devices to the openlab
user.
-rw-r--r--machines/labnet/labtop.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/machines/labnet/labtop.nix b/machines/labnet/labtop.nix
index 6f679ed2..56fbbebf 100644
--- a/machines/labnet/labtop.nix
+++ b/machines/labnet/labtop.nix
@@ -101,7 +101,7 @@ in {
     uid = 1000;
     isNormalUser = true;
     password = "openlab";
-    extraGroups = [ "wheel" "networkmanager" ];
+    extraGroups = [ "wheel" "networkmanager" "dialout"];
     openssh.authorizedKeys.keys = lib.singleton (lib.concatStrings [
       "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJhthfk38lzDvoI7lPqRneI0yBpZEhLD"
       "GRBpcXzpPSu+V0YlgrDix5fHhBl+EKfw4aeQNvQNuAky3pDtX+BDK1b7idbz9ZMCExy2a1"