avoid rebuilding firefox

This commit is contained in:
2025-11-26 20:56:35 +01:00
parent 4ed3938223
commit 767e1e50be
9 changed files with 58 additions and 42 deletions

View File

@@ -1,5 +1,4 @@
{ config, pkgs, lib, ... }:
lib.mkMerge [
{ pkgs, lib, ... }:
{
programs.steam.enable = true;
programs.steam.remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
@@ -14,14 +13,6 @@ lib.mkMerge [
"steam-runtime"
];
environment.systemPackages = [
# ((pkgs.steam-run.override {
# steam-unwrapped = null;
# }).overrideAttrs {
# name = "fhs-run";
# })
];
programs.bash.shellInit = ''
if [ -n "''${BASH_VERSION:-}" ]; then
complete -F _command steam-run
@@ -81,29 +72,23 @@ lib.mkMerge [
#services.joycond.enable = true;
}
(lib.optionalAttrs (lib.versionOlder lib.version "24.11") {
hardware.opengl.enable = true;
hardware.opengl.driSupport = true;
hardware.opengl.driSupport32Bit = true;
hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ];
})
(lib.optionalAttrs (lib.versionAtLeast lib.version "24.11") {
hardware.graphics.enable = true;
hardware.graphics.enable32Bit = true;
hardware.graphics.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ];
})
{
environment.systemPackages = with pkgs; [
steam-tui
# steam-tui
steamcmd
#winetricks
#protontricks
wineWowPackages.full
# wineWowPackages.full
#wineWowPackages.waylandFull
# bottles
# lutris
# nice to have
jstest-gtk
antimicrox
@@ -119,4 +104,3 @@ lib.mkMerge [
];
}
]

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ lib, pkgs, ... }:
# TODO:
# this is what i currently do to use conda/pypi with nix-ld:
@@ -10,6 +10,14 @@
{
programs.nix-ld.enable = true;
# environment.sessionVariables = {
# NIX_LD_LIBRARY_PATH = lib.mkForce (lib.concatStringsSep ":" [
# "/run/opengl-driver/lib"
# "/run/opengl-driver-32/lib"
# "/run/current-system/sw/share/nix-ld/lib"
# ]);
# };
programs.nix-ld.libraries = with pkgs; [
acl
at-spi2-atk