From 6ea7577261f1cf30bd50cf923ef0d8f05937438b Mon Sep 17 00:00:00 2001 From: harry123 Date: Sun, 12 Jan 2025 09:12:36 +0100 Subject: [PATCH] added wine --- hosts/goober/features/software/default.nix | 1 + hosts/goober/features/software/wine.nix | 27 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 hosts/goober/features/software/wine.nix diff --git a/hosts/goober/features/software/default.nix b/hosts/goober/features/software/default.nix index 84fecea..7333f70 100644 --- a/hosts/goober/features/software/default.nix +++ b/hosts/goober/features/software/default.nix @@ -1,6 +1,7 @@ {config, ...}: { imports = [ + ./wine.nix ./neovim.nix ./flatpak.nix ./discord.nix diff --git a/hosts/goober/features/software/wine.nix b/hosts/goober/features/software/wine.nix new file mode 100644 index 0000000..4eeec14 --- /dev/null +++ b/hosts/goober/features/software/wine.nix @@ -0,0 +1,27 @@ +{config, pkgs, ...}: +{ + environment.systemPackages = with pkgs; [ + # ... + + # support both 32- and 64-bit applications + wineWowPackages.stable + + # support 32-bit only + wine + + # support 64-bit only + (wine.override { wineBuild = "wine64"; }) + + # support 64-bit only + wine64 + + # wine-staging (version with experimental features) + wineWowPackages.staging + + # winetricks (all versions) + winetricks + + # native wayland support (unstable) + wineWowPackages.waylandFull +]; +}