diff options
author | makefu <github@syntax-fehler.de> | 2018-02-06 11:57:58 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-02-06 11:57:58 +0100 |
commit | 083941f7dba4347084779b65cefa9b8cc9713939 (patch) | |
tree | aff57708296a1d54b158f455cbf6d8844e10f3c0 /makefu | |
parent | 72f440fdb567b8000ec72aefa6d3e74734c11c9e (diff) |
ma gui/base: set packages only for mainuser
Diffstat (limited to 'makefu')
-rw-r--r-- | makefu/2configs/gui/base.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/makefu/2configs/gui/base.nix b/makefu/2configs/gui/base.nix index daa0282b8..861a9327e 100644 --- a/makefu/2configs/gui/base.nix +++ b/makefu/2configs/gui/base.nix @@ -48,13 +48,14 @@ in fonts = [ pkgs.terminus_font ]; }; - environment.systemPackages = with pkgs;[ - pavucontrol - xlockmore - rxvt_unicode-with-plugins - firefox - ]; - users.extraUsers.${mainUser}.extraGroups = [ "audio" ]; + users.users.${mainUser} = { + extraGroups = [ "audio" ]; + packages = with pkgs;[ + pavucontrol + xlockmore + rxvt_unicode-with-plugins + ]; + }; hardware.pulseaudio = { enable = true; |