nixos-config/config/games/default.nix

30 lines
1 KiB
Nix
Raw Normal View History

2023-01-12 13:21:58 +00:00
args: {
pkgs,
nixpkgs,
2023-10-30 06:10:57 +00:00
nix-gaming,
2023-01-12 13:21:58 +00:00
...
2023-11-19 18:08:16 +00:00
}: let
2023-11-18 15:17:14 +00:00
wine = nix-gaming.packages.x86_64-linux.wine-ge.overrideAttrs (super: {
patches =
super.patches
or []
++ [
./wine/server-default_integrity/0001-server-Create-processes-using-a-limited-administrato.patch
./wine/server-default_integrity/0002-shell32-Implement-the-runas-verb.patch
./wine/server-default_integrity/0003-wine.inf-Set-the-EnableLUA-value-to-1.patch
./wine/server-default_integrity/0004-msi-Create-the-custom-action-server-as-an-elevated-p.patch
./wine/server-default_integrity/0005-ntdll-Always-start-the-initial-process-through-start.patch
./wine/server-default_integrity/0006-kernelbase-Elevate-processes-if-requested-in-CreateP.patch
./wine/server-default_integrity/0007-ntdll-Elevate-processes-if-requested-in-RtlCreateUse.patch
];
});
2023-11-19 18:08:16 +00:00
in {
2022-01-22 19:31:38 +00:00
home.packages = [
2023-10-30 06:10:57 +00:00
pkgs.xivlauncher
2022-10-18 00:33:38 +00:00
pkgs.prismlauncher
2023-09-02 12:53:21 +00:00
pkgs.mgba
2023-11-18 15:17:14 +00:00
wine
2023-12-24 09:51:54 +00:00
nix-gaming.packages.x86_64-linux.osu-lazer-bin
2022-01-22 19:31:38 +00:00
];
}