summaryrefslogtreecommitdiffstats
path: root/modules/lass/wine.nix
blob: a44b6fa2c58b4c51e234e05a2ecf7c0baaca2f26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ config, pkgs, ... }:

{
  environment.systemPackages = with pkgs; [
    wine
  ];
  users.extraUsers = {
    elster = {
      name = "elster";
      description = "user for running elster-online";
      home = "/home/elster";
      useDefaultShell = true;
      extraGroups = [];
      createHome = true;
    };
  };
  security.sudo.extraConfig = ''
    lass ALL=(wine) NOPASSWD: ALL
  '';
}