With SSDs or HDDs, this should not be a cause for concern - you will not write them to death this way (unrelated firmware crashes or just failures are way more likely). SD cards, USB stick or eMMC would be another topic - and better best avoided, in favour of better -cheaply replaceable- alternatives (SSD/ HDD).
Ideally it never stops writing to disk at all, and the disk is writing every few milliseconds - in other words as far as a human can tell, constant write op.
This way, if there’s a crash, power failure or whatever, you won’t lose the state of anything when it boots back up.
If after 5-10 years you need to replace an SSD, who cares? An SSD that cost you $20 when you first set up is going to cost you $2 later on.
If you wanted to save yourself the price of a replacement SSD, you might spend 10-100x more to outfit a machine with a very large amount of RAM and then run the entire VM out of a ram disk. There’s no situation I can think of where this makes any sense.
These are systemd paths. I’ve not tried configuring HAOS’ systemd options but on my desktop I’d be looking at timesyncd and the SaveIntervalSec option which defaults to a minute for its SNTP configuration (it’s not a full NTP client).
Looking at the journald options are more confusing. Unless you tell systemd not to journal to storage at all, it’s going to sync any time a message of CRIT or higher is received, or otherwise use the SyncIntervalSec of a minute. I think. journald can stream to a socket instead, but it’s synchronous and verbose, and the manpage implies it’s not a good idea.
In theory you can add your settings to your own whatever.conf file in /etc/systemd/timesync.conf.d and /etc/systemd/journald.conf.d and restart.
The issue is that /etc/systemd/ as well as most of the rest of the OS is read only.
@edent There are some things that are configurable. You could modify the *Interval* variables of timesyncd.conf for example, but if you want that much control over the OS HAOS isn’t for you and you should use the docker installation method or create feature requests for more configuration options.
I think this is a non-issue for a proper SSD. HAOS is designed to be able to run on things like the green which uses eMMC. If you’re really that concerned you can get a Intel DC SSD for < 30 bucks on eBay.
Give this SSD Useful Life Calculator a look. Write amplification not included but hopefully this can ease your concern.