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.nix23
1 files changed, 0 insertions, 23 deletions
diff --git a/modules/lass/wine.nix b/modules/lass/wine.nix
deleted file mode 100644
index 8d55da7..0000000
--- a/modules/lass/wine.nix
+++ /dev/null
@@ -1,23 +0,0 @@
-{ config, pkgs, ... }:
-
-let
- mainUser = config.users.extraUsers.mainUser;
-
-in {
- environment.systemPackages = with pkgs; [
- wineUnstable
- ];
- users.extraUsers = {
- wine = {
- name = "wine";
- description = "user for running wine";
- home = "/home/wine";
- useDefaultShell = true;
- extraGroups = [ "audio" ];
- createHome = true;
- };
- };
- security.sudo.extraConfig = ''
- ${mainUser.name} ALL=(wine) NOPASSWD: ALL
- '';
-}