weee new laptoo
This commit is contained in:
parent
c2af5792d1
commit
38b26a082f
14 changed files with 148 additions and 141 deletions
18
modules/software/tools/wine.nix
Normal file
18
modules/software/tools/wine.nix
Normal 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" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue