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;
"password-file" = "$CREDENTIALS_DIRECTORY/mqtt_password";
};
device."password-file" = cfg.devicePasswordFile;
device."password-file" = "$CREDENTIALS_DIRECTORY/device_password";
};
cfg = config.services.tasmota-backup;
in {
@ -75,6 +75,7 @@ in {
ExecStart = "${cfg.package}/bin/tasmota-backup ${configFile}";
LoadCredential = [
"mqtt_password:${cfg.mqtt.passwordFile}"
"device_password:${cfg.devicePasswordFile}"
];
ReadWritePaths = [cfg.outputPath];
Restart = "on-failure";

View file

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