Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f0a6c3552e | ||
|
|
72dc1bbc71 | ||
|
|
5690b06fd3 |
Generated
+4
-4
@@ -282,11 +282,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793643207,
|
"lastModified": 1794679440,
|
||||||
"narHash": "sha256-Kb+fklnrGzSaMNgnCtxsaLRuovW2LpENMXV/K979CAs=",
|
"narHash": "sha256-FgqPo/hhETwCdtAmve4PuZ232F7sKfDpAS0vmWZq9dw=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "754c1f832faa48117dd73e661898a133ffabd539",
|
"rev": "9d9856349edcc67e07d4daa24bbb4265dcc685a7",
|
||||||
"revCount": 11,
|
"revCount": 12,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://gitea@git.mgaction.town:2222/darman/hyprchrome-files.git"
|
"url": "ssh://gitea@git.mgaction.town:2222/darman/hyprchrome-files.git"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -103,7 +103,6 @@ in
|
|||||||
(pkgs.writeTextDir "share/mime/packages/application-x-ms-sln.xml"
|
(pkgs.writeTextDir "share/mime/packages/application-x-ms-sln.xml"
|
||||||
(builtins.readFile ../../dotfiles/mime/application-x-ms-sln.xml))
|
(builtins.readFile ../../dotfiles/mime/application-x-ms-sln.xml))
|
||||||
unstable.claude-code
|
unstable.claude-code
|
||||||
unstable.codex
|
|
||||||
pkgs.opencode
|
pkgs.opencode
|
||||||
pkgs.quickshell
|
pkgs.quickshell
|
||||||
qs-askpass
|
qs-askpass
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ in
|
|||||||
../../services/desktop/star-citizen.nix
|
../../services/desktop/star-citizen.nix
|
||||||
../../services/desktop/nexusmods-app.nix
|
../../services/desktop/nexusmods-app.nix
|
||||||
../../services/desktop/unreal-engine.nix
|
../../services/desktop/unreal-engine.nix
|
||||||
|
../../services/desktop/epic-games-launcher.nix
|
||||||
inputs.tbctl.nixosModules.tbctl
|
inputs.tbctl.nixosModules.tbctl
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ in
|
|||||||
"steam-run"
|
"steam-run"
|
||||||
"rsi-launcher" # services/desktop/star-citizen.nix (terra)
|
"rsi-launcher" # services/desktop/star-citizen.nix (terra)
|
||||||
"rsi-installer"
|
"rsi-installer"
|
||||||
|
"epic-games-launcher" # services/desktop/epic-games-launcher.nix (terra)
|
||||||
|
"epic-games-launcher-unwrapped"
|
||||||
"teamspeak6-client" # terra
|
"teamspeak6-client" # terra
|
||||||
"7zz" # nexusmods-app-unfree (terra): RAR support
|
"7zz" # nexusmods-app-unfree (terra): RAR support
|
||||||
"uasm" # builds 7zz
|
"uasm" # builds 7zz
|
||||||
|
|||||||
@@ -0,0 +1,70 @@
|
|||||||
|
{ pkgs, lib, ... }:
|
||||||
|
|
||||||
|
# Epic Games Launcher Preview (EGLv2): Epic's .deb, run unpatched in the same
|
||||||
|
# Steam-runtime FHS env as heroic, since the GE-Proton it downloads to
|
||||||
|
# ~/.local/share/com.epicgames.eglv2/compat needs those libraries too.
|
||||||
|
# Bump: version + commit from the 303 Location of
|
||||||
|
# https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncher-x86_64.deb
|
||||||
|
let
|
||||||
|
version = "0.115.0";
|
||||||
|
commit = "gd6d2ef8";
|
||||||
|
|
||||||
|
unwrapped = pkgs.stdenvNoCC.mkDerivation {
|
||||||
|
pname = "epic-games-launcher-unwrapped";
|
||||||
|
inherit version;
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "https://content-download-egs.distro.on.epicgames.com/Builds/EGLv2/${version}%2B${commit}/Linux/EpicGamesLauncher-x86_64.deb";
|
||||||
|
hash = "sha256-YYrcC8x3i7sfSXOBENXCGehh7Uy3rbcrJPtVAxVqbWM=";
|
||||||
|
};
|
||||||
|
nativeBuildInputs = [ pkgs.dpkg ];
|
||||||
|
unpackCmd = "dpkg-deb -x $curSrc root";
|
||||||
|
dontBuild = true;
|
||||||
|
dontStrip = true;
|
||||||
|
dontPatchELF = true;
|
||||||
|
# RUNPATH $ORIGIN/../lib/epic-games-launcher finds the EOS SDK in place.
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out
|
||||||
|
cp -r usr/* $out/
|
||||||
|
substituteInPlace $out/share/applications/epic-games-launcher.desktop \
|
||||||
|
--replace-fail "Exec=EpicGamesLauncher" "Exec=epic-games-launcher"
|
||||||
|
'';
|
||||||
|
meta = {
|
||||||
|
description = "Epic Games Launcher Preview";
|
||||||
|
homepage = "https://store.epicgames.com/download";
|
||||||
|
license = lib.licenses.unfree;
|
||||||
|
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
launcher = pkgs.steam.buildRuntimeEnv {
|
||||||
|
pname = "epic-games-launcher";
|
||||||
|
inherit version;
|
||||||
|
inherit (unwrapped) meta;
|
||||||
|
|
||||||
|
runScript = "${unwrapped}/bin/EpicGamesLauncher";
|
||||||
|
|
||||||
|
extraPkgs = p: with p; [
|
||||||
|
webkitgtk_4_1
|
||||||
|
libsoup_3
|
||||||
|
gtk3
|
||||||
|
libayatana-appindicator
|
||||||
|
libsecret # tokens go to gnome-keyring via org.freedesktop.secrets
|
||||||
|
xdg-utils
|
||||||
|
];
|
||||||
|
|
||||||
|
# Its updater would write into the store.
|
||||||
|
extraEnv.EGL_DISABLE_SELF_UPDATE = "1";
|
||||||
|
|
||||||
|
extraInstallCommands = ''
|
||||||
|
mkdir -p $out/share
|
||||||
|
ln -s ${unwrapped}/share/applications $out/share
|
||||||
|
ln -s ${unwrapped}/share/icons $out/share
|
||||||
|
'';
|
||||||
|
|
||||||
|
privateTmp = false;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
environment.systemPackages = [ launcher ];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user