refactor(nixpkgs): drop the repo-wide pkgs-x64 package set

Every remaining pkgs-x64 consumer runs only on x86_64-linux hosts, where the
native pkgs already carries the same allowUnfree config
(modules/nixos/base/nix.nix) and overlays (modules/base/overlays.nix), so
replace the references with pkgs and drop the extra nixpkgs instantiation
(which also removes an eval on aarch64-darwin).

media.nix keeps the native Zoom app on x86_64 hosts only, since zoom-us has
no aarch64 Linux build.
This commit is contained in:
Ryan Yin committed 2026-10-07 15:56:58 +08:00
1 parent 3e4e093869
commit 13fe324507
5 files changed
+33 -42

No files matched your search

+3 -4
View File
@@ -1,6 +1,5 @@
{
pkgs,
pkgs-x64,
nix-gaming,
config,
lib,
@@ -39,7 +38,7 @@ in
# ~/.steam/root - A symlink to ~/.local/share/Steam
# ~/.steam - Some Symlinks & user info
enable = true;
package = pkgs-x64.steam;
package = pkgs.steam;
# https://github.com/Winetricks/winetricks
# Whether to enable protontricks, a simple wrapper for running Winetricks commands for Proton-enabled games.
protontricks.enable = true;
@@ -55,8 +54,8 @@ in
# each game's Properties -> Compatibility.
# https://dawn.wine/dawn-winery/dwproton
extraCompatPackages = [
pkgs-x64.dwproton-bin
pkgs-x64.proton-ge-bin
pkgs.dwproton-bin
pkgs.proton-ge-bin
];
};