Expose tf2/packages/default.nix as a function, so a custom nixpkgs instantiation can be provided

This commit is contained in:
Shelvacu
2025-06-29 18:31:37 -07:00
committed by Shelvacu on fw
parent 1b61a16e8c
commit 307a217a1b
3 changed files with 14 additions and 8 deletions

View File

@@ -9,8 +9,8 @@
packages.x86_64-linux.default =
let
pkgs = import inputs.nixpkgs { system = "x86_64-linux"; };
tf2pkgs = inputs.tf2-nix.packages.x86_64-linux;
in tf2pkgs.mergeTf2Configs (with tf2pkgs; [
tf2Pkgs = inputs.tf2-nix.lib.mkTf2Pkgs { inherit pkgs; };
in tf2Pkgs.mergeTf2Configs (with tf2Pkgs; [
mastercomfig.presets.medium-low
mastercomfig.addons.flat-mouse
mastercomfig.addons.no-tutorial