Add gaming configuration notes and remove redundant session variables
This commit is contained in:
parent
c23c83ba8b
commit
e463d15fd5
6 changed files with 9 additions and 25 deletions
|
@ -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,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
|
|
|
@ -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,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
|
@ -6,17 +9,15 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enable32Bit = true;
|
enable32Bit = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# AMDgpu tool
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
lact
|
lact # AMDgpu tool
|
||||||
gamescope
|
gamescope
|
||||||
# gamescope-wsi
|
# gamescope-wsi # TODO: Test again in future updates, borked atm 06/21/25
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd = {
|
systemd = {
|
||||||
|
@ -34,7 +35,6 @@
|
||||||
package = pkgs.protontricks;
|
package = pkgs.protontricks;
|
||||||
};
|
};
|
||||||
|
|
||||||
# PKGs needed for gamescope to work within steam
|
|
||||||
package = pkgs.steam.override {
|
package = pkgs.steam.override {
|
||||||
extraPkgs =
|
extraPkgs =
|
||||||
pkgs:
|
pkgs:
|
||||||
|
|
|
@ -65,12 +65,6 @@ in
|
||||||
asdf-vm
|
asdf-vm
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.sessionVariables = {
|
|
||||||
AMD_VULKAN_ICD = "RADV";
|
|
||||||
RADV_PERFTEST = "aco";
|
|
||||||
PROTON_USE_D9VK = 1;
|
|
||||||
};
|
|
||||||
|
|
||||||
# FIXME: Remove once out of VM
|
# FIXME: Remove once out of VM
|
||||||
# VM guest additions to improve host-guest interaction
|
# VM guest additions to improve host-guest interaction
|
||||||
services.spice-vdagentd.enable = true;
|
services.spice-vdagentd.enable = true;
|
||||||
|
|
|
@ -64,12 +64,6 @@ in
|
||||||
asdf-vm
|
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
|
# https://wiki.nixos.org/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
system.stateVersion = "25.11";
|
system.stateVersion = "25.11";
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,12 +68,6 @@ in
|
||||||
asdf-vm
|
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
|
# https://wiki.nixos.org/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "24.11";
|
||||||
}
|
}
|
||||||
|
|
|
@ -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, ... }:
|
{ lib, config, ... }:
|
||||||
{
|
{
|
||||||
options.monitors = lib.mkOption {
|
options.monitors = lib.mkOption {
|
||||||
|
|
Loading…
Add table
Reference in a new issue