mirror of
https://codeberg.org/icewind/tasmota-backup.git
synced 2026-06-03 14:24:08 +02:00
nix: don't check
This commit is contained in:
parent
528b1721ba
commit
a402059af3
2 changed files with 4 additions and 1 deletions
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,8 @@ in
|
||||||
|
|
||||||
inherit src;
|
inherit src;
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
cargoLock = {
|
cargoLock = {
|
||||||
lockFile = ./Cargo.lock;
|
lockFile = ./Cargo.lock;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue