nix: don't check

This commit is contained in:
Robin Appelman 2024-03-02 21:38:16 +01:00
commit a402059af3
2 changed files with 4 additions and 1 deletions

View file

@ -12,7 +12,7 @@ with lib; let
inherit (cfg.mqtt) hostname port username; inherit (cfg.mqtt) hostname port username;
"password-file" = "$CREDENTIALS_DIRECTORY/mqtt_password"; "password-file" = "$CREDENTIALS_DIRECTORY/mqtt_password";
}; };
device."password-file" = cfg.devicePasswordFile; device."password-file" = "$CREDENTIALS_DIRECTORY/device_password";
}; };
cfg = config.services.tasmota-backup; cfg = config.services.tasmota-backup;
in { in {
@ -75,6 +75,7 @@ in {
ExecStart = "${cfg.package}/bin/tasmota-backup ${configFile}"; ExecStart = "${cfg.package}/bin/tasmota-backup ${configFile}";
LoadCredential = [ LoadCredential = [
"mqtt_password:${cfg.mqtt.passwordFile}" "mqtt_password:${cfg.mqtt.passwordFile}"
"device_password:${cfg.devicePasswordFile}"
]; ];
ReadWritePaths = [cfg.outputPath]; ReadWritePaths = [cfg.outputPath];
Restart = "on-failure"; Restart = "on-failure";

View file

@ -14,6 +14,8 @@ in
inherit src; inherit src;
doCheck = false;
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;