nixos-config/home/gaming/lutris.nix

21 lines
525 B
Nix
Raw Normal View History

{ config, pkgs, lib, ... }:
2021-08-01 14:44:23 +02:00
{
home.packages = with pkgs; [ lutris ];
xdg.dataFile = {
2021-08-07 22:08:00 +02:00
wine-ge = let
version = "GE-Proton7-20";
name = "wine-lutris-${version}-x86_64";
2021-08-07 22:08:00 +02:00
in {
recursive = false;
source = builtins.fetchTarball {
url =
"https://github.com/GloriousEggroll/wine-ge-custom/releases/download/${version}/${name}.tar.xz";
sha256 = "1yfcmfjyxfxkp14a3h2ffr6zfb9chk8676b978vk96vamdyr06j1";
2021-08-07 22:08:00 +02:00
};
target = "lutris/runners/wine/${name}";
};
2021-08-01 14:44:23 +02:00
};
}