dotbot does not carry a `defaults` block between config files, so the host configs ran without force/relink and refused to replace paths that already existed as real files — the opencode profiles, the Claude files, the sunshine config and the old systemd units all failed to link. Each host config now restates the block. ddns.timer used OnCalendar=*-*-*/2, which systemd rejects: a day-of-month step needs an explicit start value. The retired cron line was `0 2 */2 * *`, so the correct spelling is *-*-1/2.
38 lines
2.1 KiB
YAML
38 lines
2.1 KiB
YAML
# Headless homelab host. No WM, no terminal emulator, no browser.
|
|
# Owns every singleton automation in the fleet.
|
|
# dotbot does NOT carry a defaults block between config files, so each host
|
|
# config has to restate it. Without this, linking a path that already exists
|
|
# as a real file fails instead of replacing it.
|
|
- defaults:
|
|
link:
|
|
create: true
|
|
relink: true
|
|
force: true
|
|
|
|
- link:
|
|
~/.config/git/identity: hosts/mainframe/git/identity
|
|
~/.config/paru: common/paru
|
|
~/.config/rbw: common/rbw
|
|
~/.config/opencode/personal.json: common/opencode/personal.json
|
|
~/.config/opencode/work.json: common/opencode/work.json
|
|
~/.config/opencode/work-strict.json: common/opencode/work-strict.json
|
|
~/.config/opencode/local.json: common/opencode/local.json
|
|
~/.claude/CLAUDE.md: common/claude/CLAUDE.md
|
|
~/.claude/settings.json: common/claude/settings.json
|
|
~/.config/sunshine/sunshine.conf: hosts/mainframe/sunshine/sunshine.conf
|
|
~/.config/sunshine/apps.json: hosts/mainframe/sunshine/apps.json
|
|
~/.config/systemd/user/inbox-tidy.service: hosts/mainframe/systemd/inbox-tidy.service
|
|
~/.config/systemd/user/inbox-tidy.timer: hosts/mainframe/systemd/inbox-tidy.timer
|
|
~/.config/systemd/user/movie-recs.service: hosts/mainframe/systemd/movie-recs.service
|
|
~/.config/systemd/user/movie-recs.timer: hosts/mainframe/systemd/movie-recs.timer
|
|
~/.config/systemd/user/rent-utilities.service: hosts/mainframe/systemd/rent-utilities.service
|
|
~/.config/systemd/user/rent-utilities.timer: hosts/mainframe/systemd/rent-utilities.timer
|
|
~/.config/systemd/user/ddns.service: hosts/mainframe/systemd/ddns.service
|
|
~/.config/systemd/user/ddns.timer: hosts/mainframe/systemd/ddns.timer
|
|
|
|
- shell:
|
|
- command: systemctl --user daemon-reload
|
|
description: Reloading user units
|
|
- command: systemctl --user enable --now inbox-tidy.timer movie-recs.timer rent-utilities.timer ddns.timer
|
|
description: Enabling the singleton timers (mainframe only)
|