refactor(tf2): tarball vendored assets

This commit is contained in:
2025-09-20 13:36:04 -06:00
parent 5b67769670
commit 0589261c2b
123 changed files with 7 additions and 6480 deletions

View File

@@ -11,20 +11,25 @@ in {
config = lib.mkIf cfg.enable
(let
tf2pkgs = inputs.tf2-nix.packages.x86_64-linux;
tgz = x: pkgs.runCommand "source" {} ''
mkdir $out
cd $out
tar xzvf "${x}"
'';
my-config = tf2pkgs.mergeTf2Configs (with tf2pkgs; [
mastercomfig.presets.medium-low
mastercomfig.addons.flat-mouse
mastercomfig.addons.no-tutorial
mastercomfig.addons.null-canceling-movement
# improved-crosshairs
./tf2/improved-crosshairs-0.1.1
(tgz ./tf2/improved-crosshairs-0.1.1.tar.gz)
loadouts-script
(huds.deerhud.overrideAttrs (final: prev: {
patches = [ ./tf2/raise-uber-meter.patch ];
}))
maps.jump_noskillrequired_b3
./tf2/my-config
./tf2/quake-hitsounds
(tgz ./tf2/quake-hitsounds.tar.gz)
]);
game-dir = ".local/share/Steam/steamapps/common/Team Fortress 2/tf";
in {