feat: add wine support

This commit is contained in:
DACHXY 2025-01-15 16:00:46 +08:00
parent 34d447f1a6
commit a2f7998f1a
3 changed files with 9 additions and 1 deletions

View file

@ -44,7 +44,7 @@
"float, initialTitle: ^(LINE)$" "float, initialTitle: ^(LINE)$"
# VLC # VLC
"workspace: 3, initialClass: ^(vlc)" "workspace: 3, initialClass: ^(vlc), floating: 0"
]; ];
layerrule = [ layerrule = [

View file

@ -35,6 +35,7 @@ in
(import ../../modules/wallpaper-engine.nix { (import ../../modules/wallpaper-engine.nix {
offload = nvidia-offload-enabled; offload = nvidia-offload-enabled;
}) })
../../modules/wine.nix
]; ];
# Overrides # Overrides

7
system/modules/wine.nix Normal file
View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
wineWowPackages.waylandFull # 32-bit & 64-bit
winetricks
];
}