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.
|
# NOTE: Using imperative config because of secrets.
|
||||||
config = null;
|
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 = {
|
systemd = {
|
||||||
services = {
|
services = {
|
||||||
paperless-scheduler = {
|
paperless-scheduler = {
|
||||||
serviceConfig.PrivateNetwork = lib.mkForce false;
|
serviceConfig.PrivateNetwork = mkForce false;
|
||||||
wantedBy = lib.mkForce [];
|
wantedBy = mkForce [];
|
||||||
};
|
};
|
||||||
paperless-consumer = {
|
paperless-consumer = {
|
||||||
serviceConfig.PrivateNetwork = lib.mkForce false;
|
serviceConfig.PrivateNetwork = mkForce false;
|
||||||
wantedBy = lib.mkForce [];
|
wantedBy = mkForce [];
|
||||||
};
|
};
|
||||||
paperless-web = {
|
paperless-web = {
|
||||||
wantedBy = lib.mkForce [];
|
wantedBy = mkForce [];
|
||||||
};
|
};
|
||||||
paperless-task-queue = {
|
paperless-task-queue = {
|
||||||
wantedBy = lib.mkForce [];
|
wantedBy = mkForce [];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
timers.fixsystemd = {
|
timers.fixsystemd = {
|
||||||
|
|
Loading…
Reference in a new issue