Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions home/openclaw/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,18 @@ in
# start-limit-hit — down for a day, silently. A transient
# pre-start failure must never be able to do that again: wide
# window, generous burst, slower restart spacing.
# #2875: the gateway's tokens come from /run/secrets/openclaw/*,
# which sops-nix materializes only on hosts that declare
# nixos/hosts/amd-openclaw-secrets.nix (the amd host block). This
# home module is imported for every host that includes
# nixos/users/user, so on a host without those secrets (the Intel
# `nixos` host) the unit could only ever fail. Skip it explicitly
# there instead of letting it crash-loop against a missing
# credential file: a condition-skipped unit is inactive and quiet,
# and it starts by itself the moment the host declares the
# secrets. Delete this when every host carrying the user env also
# carries its own openclaw secrets.
ConditionPathExists = "/run/secrets/openclaw/gateway-token";
StartLimitIntervalSec = "600";
StartLimitBurst = 30;
};
Expand Down