stockholm/lass/2configs/starcraft.nix

23 lines
418 B
Nix
Raw Normal View History

2018-06-25 08:17:58 +00:00
{ config, pkgs, ... }: let
mainUser = config.users.extraUsers.mainUser;
in {
users.users= {
starcraft = {
isNormalUser = true;
extraGroups = [
"audio"
"video"
];
packages = [
2019-10-14 13:40:29 +00:00
pkgs.wineWowPackages.minimal
2018-06-25 08:17:58 +00:00
pkgs.winetricks
pkgs.mpg123
];
};
};
security.sudo.extraConfig = ''
${mainUser.name} ALL=(starcraft) NOPASSWD: ALL
'';
}