summaryrefslogtreecommitdiffstats
path: root/modules/lass/wine.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/lass/wine.nix')
-rw-r--r--modules/lass/wine.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/lass/wine.nix b/modules/lass/wine.nix
new file mode 100644
index 000000000..838b67d2a
--- /dev/null
+++ b/modules/lass/wine.nix
@@ -0,0 +1,17 @@
+{ config, pkgs, ... }:
+
+{
+ 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
+ '';
+}