weee new laptoo

This commit is contained in:
Reid 2026-06-07 23:15:03 -07:00
parent c2af5792d1
commit 38b26a082f
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
14 changed files with 148 additions and 141 deletions

View file

@ -0,0 +1,18 @@
{ lib, config, ... }:
with lib;
let
cfg = config.modules.software.tools.wine;
in {
options.modules.software.tools.wine = {
enable = mkEnableOption "Enable wine, a compatibility layer to run Windows applications on Linux";
};
config = mkIf cfg.enable {
hm.home.packages = with pkgs; [ wineWow64Packages.waylandFull winetricks ];
# enable windows NT sync primitive driver (semaphores, mutexes, etc.)
# improves performance on wine 11+ and proton 11+
boot.kernelModules = [ "ntsync" ];
};
}