Add gaming configuration notes and remove redundant session variables
Some checks are pending
Build NixOS ISOs (x86 only) / build-iso (x86, desktop) (push) Waiting to run
Build NixOS ISOs (x86 only) / build-iso (x86, server) (push) Waiting to run
Build NixOS ISOs (x86 only) / create-release (push) Blocked by required conditions

This commit is contained in:
Chris Toph 2025-06-21 14:04:36 -04:00
parent c23c83ba8b
commit e463d15fd5
6 changed files with 9 additions and 25 deletions

View file

@ -1,3 +1,6 @@
## NOTE:
## This is only configured for AMD GPUs; Nvidia might require additional configuration.
## For example host (PC) configuration using this module go to home/hosts/rune
{
pkgs,
config,
@ -14,7 +17,7 @@ let
# INFO: Example working commands for running games in steam-session
## Rivals ##
# SteamDeck=1 LD_PRELOAD="" PROTON_ENABLE_NVAPI=1 PROTON_ENABLE_WAYLAND=1 VKD3D_DISABLE_EXTENSIONS=VK_KHR_present_wait gamemoderun %command% -PSOCompileMode=1 -dx12
# SteamDeck=1 LD_PRELOAD="" PROTON_ENABLE_NVAPI=1 PROTON_ENABLE_WAYLAND=1 VKD3D_DISABLE_EXTENSIONS=VK_KHR_present_wait gamemoderun %command% -PSOCompileMode=1 -dx12
## Stats Overlay ##
# gamemoderun mangohud %command%

View file

@ -1,3 +1,6 @@
## NOTE:
## This is only configured for AMD GPUs; Nvidia might require additional configuration.
## For example host (PC) configuration using this module go to hosts/x86/rune
{
pkgs,
lib,
@ -6,17 +9,15 @@
...
}:
{
hardware.graphics = {
enable = true;
enable32Bit = true;
};
# AMDgpu tool
environment.systemPackages = with pkgs; [
lact
lact # AMDgpu tool
gamescope
# gamescope-wsi
# gamescope-wsi # TODO: Test again in future updates, borked atm 06/21/25
];
systemd = {
@ -34,7 +35,6 @@
package = pkgs.protontricks;
};
# PKGs needed for gamescope to work within steam
package = pkgs.steam.override {
extraPkgs =
pkgs:

View file

@ -65,12 +65,6 @@ in
asdf-vm
];
environment.sessionVariables = {
AMD_VULKAN_ICD = "RADV";
RADV_PERFTEST = "aco";
PROTON_USE_D9VK = 1;
};
# FIXME: Remove once out of VM
# VM guest additions to improve host-guest interaction
services.spice-vdagentd.enable = true;

View file

@ -64,12 +64,6 @@ in
asdf-vm
];
environment.sessionVariables = {
AMD_VULKAN_ICD = "RADV";
RADV_PERFTEST = "aco";
PROTON_USE_D9VK = 1;
};
# https://wiki.nixos.org/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "25.11";
}

View file

@ -68,12 +68,6 @@ in
asdf-vm
];
environment.sessionVariables = {
AMD_VULKAN_ICD = "RADV";
RADV_PERFTEST = "aco";
PROTON_USE_D9VK = 1;
};
# https://wiki.nixos.org/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "24.11";
}

View file

@ -1,4 +1,3 @@
# The options set using this module are intended for use with logic defined in specific workspace management configurations. For example, see nix-config/home/ta/common/optional/hyprland/
{ lib, config, ... }:
{
options.monitors = lib.mkOption {