Update FredOS-Gaming.nix

This commit is contained in:
ediblerope 2025-12-09 15:18:11 +00:00 committed by GitHub
parent 3500b5da91
commit 55cfa67bae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,11 +1,21 @@
{ config, pkgs, lib, ... }:
{
config = lib.mkIf (config.networking.hostName == "FredOS-Gaming") {
nixpkgs.config.packageOverrides = pkgs: {
pkgs = pkgs // {
# This is where you pull in 32-bit packages
# We access the i686-linux architecture set:
lib32 = pkgs.pkgsi686Linux.pkgs;
};
};
environment.systemPackages = with pkgs; [
lutris
adwaita-icon-theme # Helps with missing cursors/icons in some Wine games
nix-index
libdecor
lib32.libdecor
];
# Enables Vulkan and OpenGL drivers
@ -14,6 +24,8 @@
enable32Bit = true;
};
programs.steam = {
enable = true;
remotePlay.openFirewall = true;