enable earlyoom
This commit is contained in:
parent
9d8cff5698
commit
f268bd7b83
|
@ -39,6 +39,8 @@
|
|||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
||||
services.earlyoom.enable = true;
|
||||
|
||||
services.k3s.enable = true;
|
||||
services.k3s.role = "server";
|
||||
services.k3s.extraFlags = toString [
|
||||
|
@ -67,7 +69,7 @@
|
|||
data_type = "integer";
|
||||
};
|
||||
inputs.exec = {
|
||||
commands = [ "/opt/vc/bin/vcgencmd measure_temp" ];
|
||||
commands = [ "${pkgs.libraspberrypi}/bin/vcgencmd measure_temp" ];
|
||||
name_override = "gpu_temperature";
|
||||
data_format = "grok";
|
||||
grok_patterns = [ "%{NUMBER:value:float}" ];
|
||||
|
|
Loading…
Reference in New Issue