Merge branch 'nix'
All checks were successful
nixos / nixos (push) Successful in 34s

Assisted-by: Claude:opus-5-5
This commit is contained in:
Sergei Poljanski 2026-11-17 10:06:16 +04:00
commit 168fd2ecb9
Signed by: asxpi
GPG key ID: 4F8851660FA4121B

View file

@ -55,8 +55,12 @@ in
after = [ "network-online.target" ];
onFailure = [ "alert-mail@%n.service" ];
path = [ pkgs.rclone ];
# rclone looks for a home directory even when its remotes come from
# the environment
environment.HOME = "/var/lib/s3-replicate";
serviceConfig = {
Type = "oneshot";
StateDirectory = "s3-replicate";
EnvironmentFile = config.sops.templates."s3-replicate.env".path;
TimeoutStartSec = "12h";
};