added amd
This commit is contained in:
+4
-1
@@ -8,8 +8,11 @@
|
|||||||
../system/font.nix
|
../system/font.nix
|
||||||
../system/browser.nix
|
../system/browser.nix
|
||||||
../system/wayland.nix
|
../system/wayland.nix
|
||||||
|
../system/graphics.nix
|
||||||
|
|
||||||
|
# FIXME
|
||||||
|
../system/amd.nix
|
||||||
]
|
]
|
||||||
++ lib.optionals (myConfig.linux.gaming == true) [
|
++ lib.optionals (myConfig.linux.gaming == true) [
|
||||||
../system/graphics.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,69 +4,11 @@
|
|||||||
enableSessionWide = true;
|
enableSessionWide = true;
|
||||||
settings = {
|
settings = {
|
||||||
toggle_hud = "Shift_R+F12";
|
toggle_hud = "Shift_R+F12";
|
||||||
legacyLayout = false;
|
|
||||||
|
|
||||||
backgroundAlpha = 0.6;
|
full = true;
|
||||||
roundCorners = 10;
|
gpu_temp = true;
|
||||||
backgroundColor = "000000";
|
cpu_temp = true;
|
||||||
|
fps_only = false;
|
||||||
fontSize = 24;
|
|
||||||
textColor = "FFFFFF";
|
|
||||||
position = "top-left";
|
|
||||||
|
|
||||||
tableColumns = 3;
|
|
||||||
|
|
||||||
gpuText = "GPU";
|
|
||||||
gpuStats = true;
|
|
||||||
gpuLoadChange = true;
|
|
||||||
gpuLoadValue = "50,90";
|
|
||||||
gpuLoadColor = "FFFFFF,FFAA7F,CC0000";
|
|
||||||
gpuCoreClock = true;
|
|
||||||
gpuMemClock = true;
|
|
||||||
gpuTemp = true;
|
|
||||||
gpuPower = true;
|
|
||||||
gpuColor = "2E9762";
|
|
||||||
|
|
||||||
cpuText = "CPU";
|
|
||||||
cpuStats = true; # Assuming this implies cpu_stats is enabled
|
|
||||||
cpuLoadChange = true;
|
|
||||||
cpuLoadValue = "50,90";
|
|
||||||
cpuLoadColor = "FFFFFF,FFAA7F,CC0000";
|
|
||||||
cpuMhz = true;
|
|
||||||
cpuTemp = true;
|
|
||||||
cpuPower = true;
|
|
||||||
cpuColor = "2E97CB";
|
|
||||||
|
|
||||||
vram = true;
|
|
||||||
vramColor = "AD64C1"; # Note: you had this twice, keeping one
|
|
||||||
|
|
||||||
ram = true;
|
|
||||||
ramColor = "C26693";
|
|
||||||
|
|
||||||
battery = true;
|
|
||||||
batteryColor = "00FF00";
|
|
||||||
|
|
||||||
fps = true;
|
|
||||||
fpsMetrics = "avg,0.01";
|
|
||||||
engineVersion = true;
|
|
||||||
engineColor = "EB5B5B";
|
|
||||||
frameTiming = true;
|
|
||||||
frametimeColor = "FFFFFF";
|
|
||||||
fpsLimitMethod = "late";
|
|
||||||
toggleFpsLimit = "Shift_L+F1";
|
|
||||||
fpsLimit = 0;
|
|
||||||
fpsColorChange = true;
|
|
||||||
fpsColor = "B22222,FDFD09,39F900";
|
|
||||||
fpsValue = "30,60";
|
|
||||||
|
|
||||||
# The 'offset' setting was commented out in your original file,
|
|
||||||
# so it's omitted here.
|
|
||||||
|
|
||||||
outputFolder = "/home/kenji";
|
|
||||||
logDuration = 30;
|
|
||||||
autostartLog = 0;
|
|
||||||
logInterval = 100;
|
|
||||||
toggleLogging = "Shift_L+F2";
|
|
||||||
|
|
||||||
blacklist = [
|
blacklist = [
|
||||||
"pamac-manager"
|
"pamac-manager"
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
glxinfo
|
||||||
|
vulkan-tools
|
||||||
|
];
|
||||||
|
}
|
||||||
+5
-1
@@ -3,10 +3,14 @@
|
|||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
programs.steam.enable = true;
|
programs.steam = {
|
||||||
|
enable = true;
|
||||||
|
gamescopeSession.enable = true;
|
||||||
|
};
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
# inputs.nix-gaming.packages.${pkgs.system}.default
|
# inputs.nix-gaming.packages.${pkgs.system}.default
|
||||||
pkgs.protonup-qt
|
pkgs.protonup-qt
|
||||||
|
pkgs.geekbench
|
||||||
];
|
];
|
||||||
# programs.steam.platformOptimizations.enable = true;
|
# programs.steam.platformOptimizations.enable = true;
|
||||||
}
|
}
|
||||||
|
|||||||
+6
-1
@@ -1,6 +1,11 @@
|
|||||||
{...}: {
|
{pkgs, ...}: {
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enable32Bit = true; # Crucial for 32-bit games
|
enable32Bit = true; # Crucial for 32-bit games
|
||||||
};
|
};
|
||||||
|
programs.corectrl = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
systemd.packages = with pkgs; [corectrl];
|
||||||
|
systemd.services.corectrl.wantedBy = ["multi-user.target"];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user