parent
80ab476c80
commit
1471de3400
2 changed files with 21 additions and 3 deletions
devices/binto/modules
|
@ -1,17 +1,27 @@
|
|||
{
|
||||
config,
|
||||
nix-gaming,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
inherit (config.vars) mainUser;
|
||||
|
||||
wine = nix-gaming.packages.${pkgs.system}.wine-ge;
|
||||
in {
|
||||
imports = [
|
||||
nix-gaming.nixosModules.platformOptimizations
|
||||
];
|
||||
|
||||
programs = {
|
||||
steam = {
|
||||
# Disable HW accel to fix flickers
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
|
||||
extraCompatPackages = with pkgs; [
|
||||
proton-ge-bin
|
||||
];
|
||||
|
||||
platformOptimizations.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -21,8 +31,15 @@
|
|||
# List library dependencies here
|
||||
];
|
||||
extraPkgs = pkgs: [
|
||||
nix-gaming.packages.${pkgs.system}.wine-ge
|
||||
wine
|
||||
];
|
||||
})
|
||||
|
||||
pkgs.r2modman
|
||||
];
|
||||
|
||||
# Give wine a constant path for lutris
|
||||
home-manager.users.${mainUser}.home.file = {
|
||||
".bin/wine".source = "${wine}/bin/wine";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue