mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-14 19:30:19 +01:00
35 lines
654 B
Nix
35 lines
654 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
home.packages = with pkgs; [
|
|
bottles
|
|
heroic
|
|
lutris
|
|
simulationcraft
|
|
warcraftlogs
|
|
wine-tkg
|
|
winetricks
|
|
wowup
|
|
xivlauncher
|
|
];
|
|
|
|
home.file = {
|
|
".config/heroic/tools/wine/wine-system" = {
|
|
source = pkgs.wine-tkg;
|
|
#recursive = true;
|
|
};
|
|
};
|
|
|
|
home.activation = {
|
|
proton-ge = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
|
target="${config.home.homeDirectory}/.steam/root/compatibilitytools.d/Proton-${pkgs.proton-ge.version}"
|
|
if ! [ -d "$target" ]; then
|
|
cp -R ${pkgs.proton-ge} "$target"
|
|
chmod -R u+w "$target"
|
|
fi
|
|
'';
|
|
};
|
|
}
|