nixos-config/home/gaming/lutris.nix

22 lines
583 B
Nix
Raw Normal View History

{ config, pkgs, lib, ... }:
2021-08-01 14:44:23 +02:00
{
# TODO move into heroic.nix or rename lutris.nix
home.packages = with pkgs; [ lutris heroic ];
2021-08-01 14:44:23 +02:00
xdg.dataFile = {
2021-08-07 22:08:00 +02:00
wine-ge = let
version = "GE-Proton7-29";
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 = "0kabfah8h01b7f822qi0kqp3d6mrd7q7p8ygd2c14j3hczr4vyyg";
2021-08-07 22:08:00 +02:00
};
target = "lutris/runners/wine/${name}";
};
2021-08-01 14:44:23 +02:00
};
}