Compare commits

...
3 Commits
Author SHA1 Message Date
darmanandClaude Opus 5.5 f0a6c3552e chore(flake): update hyprchrome-files
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 19:12:48 +01:00
darmanandClaude Opus 5.5 72dc1bbc71 chore(desktop): drop codex
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 19:12:48 +01:00
darmanandClaude Opus 5.5 5690b06fd3 feat(terra): Epic Games Launcher Preview in a Steam-runtime FHS env
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 19:12:48 +01:00
5 changed files with 77 additions and 5 deletions
Generated
+4 -4
View File
@@ -282,11 +282,11 @@
]
},
"locked": {
"lastModified": 1793643207,
"narHash": "sha256-Kb+fklnrGzSaMNgnCtxsaLRuovW2LpENMXV/K979CAs=",
"lastModified": 1794679440,
"narHash": "sha256-FgqPo/hhETwCdtAmve4PuZ232F7sKfDpAS0vmWZq9dw=",
"ref": "refs/heads/master",
"rev": "754c1f832faa48117dd73e661898a133ffabd539",
"revCount": 11,
"rev": "9d9856349edcc67e07d4daa24bbb4265dcc685a7",
"revCount": 12,
"type": "git",
"url": "ssh://gitea@git.mgaction.town:2222/darman/hyprchrome-files.git"
},
-1
View File
@@ -103,7 +103,6 @@ in
(pkgs.writeTextDir "share/mime/packages/application-x-ms-sln.xml"
(builtins.readFile ../../dotfiles/mime/application-x-ms-sln.xml))
unstable.claude-code
unstable.codex
pkgs.opencode
pkgs.quickshell
qs-askpass
+1
View File
@@ -20,6 +20,7 @@ in
../../services/desktop/star-citizen.nix
../../services/desktop/nexusmods-app.nix
../../services/desktop/unreal-engine.nix
../../services/desktop/epic-games-launcher.nix
inputs.tbctl.nixosModules.tbctl
];
+2
View File
@@ -17,6 +17,8 @@ in
"steam-run"
"rsi-launcher" # services/desktop/star-citizen.nix (terra)
"rsi-installer"
"epic-games-launcher" # services/desktop/epic-games-launcher.nix (terra)
"epic-games-launcher-unwrapped"
"teamspeak6-client" # terra
"7zz" # nexusmods-app-unfree (terra): RAR support
"uasm" # builds 7zz
+70
View File
@@ -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 ];
}