Iot : Delay to wait for nextcloud calendar on boot.
This commit is contained in:
parent
5c24476609
commit
12caeea867
|
@ -88,6 +88,18 @@ in {
|
|||
# NOTE: Using imperative config because of secrets.
|
||||
config = null;
|
||||
};
|
||||
|
||||
# HACK: Delay so that nextcloud calendar can reply on reboot.
|
||||
systemd = {
|
||||
services."home-assistant".wantedBy = mkForce [];
|
||||
timers.fixsystemd = {
|
||||
timerConfig = {
|
||||
OnBootSec = 5;
|
||||
Unit = "home-assistant.service";
|
||||
};
|
||||
wantedBy = [ "timers.target" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -68,18 +68,18 @@ in {
|
|||
systemd = {
|
||||
services = {
|
||||
paperless-scheduler = {
|
||||
serviceConfig.PrivateNetwork = lib.mkForce false;
|
||||
wantedBy = lib.mkForce [];
|
||||
serviceConfig.PrivateNetwork = mkForce false;
|
||||
wantedBy = mkForce [];
|
||||
};
|
||||
paperless-consumer = {
|
||||
serviceConfig.PrivateNetwork = lib.mkForce false;
|
||||
wantedBy = lib.mkForce [];
|
||||
serviceConfig.PrivateNetwork = mkForce false;
|
||||
wantedBy = mkForce [];
|
||||
};
|
||||
paperless-web = {
|
||||
wantedBy = lib.mkForce [];
|
||||
wantedBy = mkForce [];
|
||||
};
|
||||
paperless-task-queue = {
|
||||
wantedBy = lib.mkForce [];
|
||||
wantedBy = mkForce [];
|
||||
};
|
||||
};
|
||||
timers.fixsystemd = {
|
||||
|
|
Loading…
Reference in a new issue