From db889e085d8b4b15cab83116562085ab27bc0acb Mon Sep 17 00:00:00 2001
From: lassulus <lass@aidsballs.de>
Date: Fri, 30 Oct 2015 18:35:21 +0100
Subject: [PATCH] lass 2 base*: reorganize groups

---
 lass/2configs/base.nix  | 2 --
 lass/2configs/baseX.nix | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lass/2configs/base.nix b/lass/2configs/base.nix
index fe6aa8361..057af7bc4 100644
--- a/lass/2configs/base.nix
+++ b/lass/2configs/base.nix
@@ -27,8 +27,6 @@ with lib;
           createHome = true;
           useDefaultShell = true;
           extraGroups = [
-            "audio"
-            "wheel"
           ];
           openssh.authorizedKeys.keys = map readFile [
             ../../krebs/Zpubkeys/lass.ssh.pub
diff --git a/lass/2configs/baseX.nix b/lass/2configs/baseX.nix
index 1f5c3de55..3be3676aa 100644
--- a/lass/2configs/baseX.nix
+++ b/lass/2configs/baseX.nix
@@ -8,6 +8,8 @@ in {
     ./urxvt.nix
   ];
 
+  users.extraUsers.mainUser.extraGroups = [ "audio" ];
+
   time.timeZone = "Europe/Berlin";
 
   virtualisation.libvirtd.enable = true;