about summary refs log tree commit diff
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2014-12-18 18:24:32 +0100
committeraszlig <aszlig@redmoonstudios.org>2014-12-18 18:24:32 +0100
commit10b2c5abaa0ef50f991f53bd0c3424ae06908ad2 (patch)
tree4048384cf122c8359b30e81aca141059da7ace47
parent9ad10794d1e471f935927b5bf158a0fc4773bbbb (diff)
Remove "aszlig" from vboxusers, except on dnyarri.
Yep, for now I need USB support on that machine, so let's stay in the
vboxusers group there for now.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
-rw-r--r--common-workstation.nix2
-rw-r--r--machines/dnyarri.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/common-workstation.nix b/common-workstation.nix
index 55cfdb87..307abb00 100644
--- a/common-workstation.nix
+++ b/common-workstation.nix
@@ -137,7 +137,7 @@ in {
     uid = 1000;
     description = "aszlig";
     group = "users";
-    extraGroups = [ "vboxusers" "wheel" "video" ];
+    extraGroups = [ "wheel" "video" ];
     home = "/home/aszlig";
     useDefaultShell = true;
     createHome = true;
diff --git a/machines/dnyarri.nix b/machines/dnyarri.nix
index fbf29288..aca4d383 100644
--- a/machines/dnyarri.nix
+++ b/machines/dnyarri.nix
@@ -126,7 +126,7 @@ with import ../lib;
   # TODO: Try to avoid this, but as there is only a single user using audio on
   # this machine, it's okay for now. But remember that this will break heavily,
   # should there be another user accessing the audio devices.
-  users.extraUsers.aszlig.extraGroups = [ "audio" ];
+  users.extraUsers.aszlig.extraGroups = [ "audio" "vboxusers" ];
 
   services.synergy.client.enable = true;
   services.synergy.client.serverAddress = "mmrnmhrm";