mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat: combined patch from koishi
This commit is contained in:
parent
3041f5458f
commit
7a0f09e700
5 changed files with 169 additions and 9 deletions
|
|
@ -97,7 +97,7 @@ _: let
|
|||
"-model_sheet"
|
||||
];
|
||||
};
|
||||
programs.waybar.settings.main = {
|
||||
waybar.settings.main = {
|
||||
modules-center = [
|
||||
"custom/nvidia-vram"
|
||||
];
|
||||
|
|
@ -105,7 +105,7 @@ _: let
|
|||
tooltip = false;
|
||||
format = "nvidia {}";
|
||||
interval = 1;
|
||||
exec = "${getExe' pkgs.nvidia-smi "nvidia-smi"} --query-gpu=memory.used,memory.total,pstate --format=csv,noheader,nounits";
|
||||
exec = "${getExe' config.hardware.nvidia.package "nvidia-smi"} --query-gpu=memory.used,memory.total,pstate --format=csv,noheader,nounits";
|
||||
return-type = "";
|
||||
};
|
||||
};
|
||||
|
|
@ -114,6 +114,13 @@ _: let
|
|||
"LG Electronics LG Ultra HD 0x0001AC91" = {
|
||||
scale = 1.0;
|
||||
};
|
||||
"PNP(XXX) Beyond TV 0x00010000" = {
|
||||
mode = {
|
||||
width = 2560;
|
||||
height = 1440;
|
||||
refresh = 119.998;
|
||||
};
|
||||
};
|
||||
};
|
||||
environment = {
|
||||
NVD_BACKEND = "direct";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue