2015-04-09 23:37:29 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2015-04-09 23:40:22 +00:00
|
|
|
environment.systemPackages = with pkgs; [
|
2015-04-10 01:03:34 +00:00
|
|
|
wineUnstable
|
2015-04-09 23:40:22 +00:00
|
|
|
];
|
2015-04-09 23:37:29 +00:00
|
|
|
users.extraUsers = {
|
2015-04-09 23:42:03 +00:00
|
|
|
wine = {
|
|
|
|
name = "wine";
|
|
|
|
description = "user for running wine";
|
|
|
|
home = "/home/wine";
|
2015-04-09 23:37:29 +00:00
|
|
|
useDefaultShell = true;
|
|
|
|
extraGroups = [];
|
|
|
|
createHome = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
security.sudo.extraConfig = ''
|
|
|
|
lass ALL=(wine) NOPASSWD: ALL
|
|
|
|
'';
|
|
|
|
}
|