co2_exporter: 2022-11-03 -> 2023-07-01

nazuna
Simon Bruder 2023-07-01 13:15:10 +02:00
parent 3df0ddcc27
commit bc49acba64
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
2 changed files with 4 additions and 4 deletions

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "co2_exporter";
version = "unstable-2022-11-03";
version = "unstable-2023-07-01";
src = fetchFromGitHub {
owner = "sbruder"; # fork of am3os original version
repo = pname;
rev = "49ee376d257c0d92dcb819de6d67bb16d64b0339";
sha256 = "sha256-GJyIS6G0egSfk6LI38VqXg+E+WWQqJRmcvUU9Nk5MSo=";
rev = "2e1e7af5af6d7e742d69278cf1cb25b08f770e25";
sha256 = "sha256-64/a6NHzUvHgal30lt3k0vEQBvfEHRR7HZfUReKfO54=";
};
subPackages = [ "." ];

View File

@ -30,7 +30,7 @@ in
environment = {
CO2MONITOR_ADDRESS = cfg.listenAddress;
} // (lib.optionalAttrs (!isNull cfg.device) {
CO2MOINITOR_DEVICE = cfg.device; # MOINITOR ✓
CO2MONITOR_DEVICE = cfg.device;
});
serviceConfig = {
ExecStart = "${cfg.package}/bin/co2_exporter";