This commit is contained in:
Robin Appelman 2025-06-02 22:29:46 +02:00
commit 95b0cb6c38
3 changed files with 43 additions and 42 deletions

View file

@ -51,7 +51,8 @@ sensor_humidity{name="Sensor 2", mac="58:2d:34:39:1a:02"} 55.9
Licensed under either of
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.

View file

@ -1,7 +1,8 @@
{ config
, lib
, pkgs
, ...
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.services.mitemp;
@ -12,8 +13,7 @@ with lib; let
inherit (cfg) socket;
};
};
in
{
in {
options.services.mitemp = {
enable = mkEnableOption "mitemp";

View file

@ -1,10 +1,10 @@
{ stdenv
, rustPlatform
, lib
, pkg-config
, dbus
}:
let
{
stdenv,
rustPlatform,
lib,
pkg-config,
dbus,
}: let
inherit (lib.sources) sourceByRegex;
inherit (builtins) fromTOML readFile;
src = sourceByRegex ./. ["Cargo.*" "(src)(/.*)?"];