graphics added
This commit is contained in:
+4
-8
@@ -3,14 +3,10 @@
|
|||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports =
|
imports = [
|
||||||
[
|
../modules/terminal.nix
|
||||||
../modules/terminal.nix
|
../modules/desktop.nix
|
||||||
../modules/desktop.nix
|
];
|
||||||
]
|
|
||||||
++ lib.optionals (myConfig.linux.gaming == true) [
|
|
||||||
../modules/gaming.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
|||||||
+9
-5
@@ -3,9 +3,13 @@
|
|||||||
myConfig,
|
myConfig,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports =
|
||||||
../system/font.nix
|
[
|
||||||
../system/browser.nix
|
../system/font.nix
|
||||||
../system/wayland.nix
|
../system/browser.nix
|
||||||
];
|
../system/wayland.nix
|
||||||
|
]
|
||||||
|
++ lib.optionals (myConfig.linux.gaming == true) [
|
||||||
|
../system/graphics.nix
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,5 +2,80 @@
|
|||||||
programs.mangohud = {
|
programs.mangohud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableSessionWide = true;
|
enableSessionWide = true;
|
||||||
|
settings = {
|
||||||
|
toggle_hud = "Shift_R+F12";
|
||||||
|
legacyLayout = false;
|
||||||
|
|
||||||
|
backgroundAlpha = 0.6;
|
||||||
|
roundCorners = 10;
|
||||||
|
backgroundColor = "000000";
|
||||||
|
|
||||||
|
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 = [
|
||||||
|
"pamac-manager"
|
||||||
|
"lact"
|
||||||
|
"ghb"
|
||||||
|
"bitwig-studio"
|
||||||
|
"ptyxis"
|
||||||
|
"yumex"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{...}: {
|
||||||
|
hardware.graphics = {
|
||||||
|
enable = true;
|
||||||
|
enable32Bit = true; # Crucial for 32-bit games
|
||||||
|
};
|
||||||
|
}
|
||||||
+5
-1
@@ -1,4 +1,8 @@
|
|||||||
{myConfig, ...}: {
|
{
|
||||||
|
myConfig,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
hardware = {
|
hardware = {
|
||||||
logitech.wireless.enable = myConfig.linux.logitech-hardware.enable;
|
logitech.wireless.enable = myConfig.linux.logitech-hardware.enable;
|
||||||
bluetooth = {
|
bluetooth = {
|
||||||
|
|||||||
Reference in New Issue
Block a user