Push password-store changes daily to git
This commit is contained in:
parent
f702474d22
commit
b2691a751a
|
@ -60,4 +60,22 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Push password-store changes to git
|
||||
systemd.user.services.password-store-push = {
|
||||
description = "Push password-store changes to git";
|
||||
wantedBy = [ "default.target" ];
|
||||
path = [ pkgs.pass-wayland pkgs.git pkgs.gitAndTools.pass-git-helper ];
|
||||
script = "${pkgs.pass-wayland}/bin/pass git push";
|
||||
serviceConfig.Type = "oneshot";
|
||||
};
|
||||
|
||||
systemd.user.timers.password-store-push = {
|
||||
description = "Daily password-store git push";
|
||||
wantedBy = [ "default.target" ];
|
||||
timerConfig = {
|
||||
OnCalendar = "18:00:00";
|
||||
Unit = "password-store-push.service";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue