about summary refs log tree commit diff
path: root/nixos/modules/services/home-automation
diff options
context:
space:
mode:
authorJade Lovelace <software@lfcode.ca>2023-10-03 22:21:50 -0700
committerJade Lovelace <software@lfcode.ca>2024-01-19 00:11:34 -0800
commit6c5ab28fcee342254aa9c8704008e2f33dc0dde1 (patch)
tree789c6f81027e0c9bc16329dae263ce758f45fe15 /nixos/modules/services/home-automation
parentb8da5d6a3c690909ea3721cded8b8bd0e8476e18 (diff)
downloadnixlib-6c5ab28fcee342254aa9c8704008e2f33dc0dde1.tar
nixlib-6c5ab28fcee342254aa9c8704008e2f33dc0dde1.tar.gz
nixlib-6c5ab28fcee342254aa9c8704008e2f33dc0dde1.tar.bz2
nixlib-6c5ab28fcee342254aa9c8704008e2f33dc0dde1.tar.lz
nixlib-6c5ab28fcee342254aa9c8704008e2f33dc0dde1.tar.xz
nixlib-6c5ab28fcee342254aa9c8704008e2f33dc0dde1.tar.zst
nixlib-6c5ab28fcee342254aa9c8704008e2f33dc0dde1.zip
nixos: fix a bunch of services missing dep on network-online.target
This was done by generating a truly hilarious configuration:

rg 'services\.[^.]+\.enable\t' opts-tags | cut -f1 > allonconfig.nix

The following were not tested due to other evaluation errors. They
should probably be manually audited.
services.amule
services.castopod
services.ceph
services.chatgpt-retrieval-plugin
services.clamsmtp
services.clight
services.dante
services.dex
services.discourse
services.dwm-status
services.engelsystem
services.foundationdb
services.frigate
services.frp
services.grocy
services.guacamole-client
services.hedgedoc
services.home-assistant
services.honk
services.imaginary
services.jitsi-meet
services.kerberos_server
services.limesurvey
services.mastodon
services.mediawiki
services.mobilizon
services.moodle
services.mosquitto
services.nextcloud
services.nullmailer
services.patroni
services.pfix-srsd
services.pgpkeyserver-lite
services.postfixadmin
services.roundcube
services.schleuder
services.self-deploy
services.slskd
services.spacecookie
services.statsd
services.step-ca
services.sympa
services.tsmBackup
services.vdirsyncer
services.vikunja
services.yandex-disk
services.zabbixWeb
Diffstat (limited to 'nixos/modules/services/home-automation')
-rw-r--r--nixos/modules/services/home-automation/evcc.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/home-automation/evcc.nix b/nixos/modules/services/home-automation/evcc.nix
index d0ce3fb4a1ce..f360f525b04b 100644
--- a/nixos/modules/services/home-automation/evcc.nix
+++ b/nixos/modules/services/home-automation/evcc.nix
@@ -41,6 +41,7 @@ in
 
   config = mkIf cfg.enable {
     systemd.services.evcc = {
+      wants = [ "network-online.target" ];
       after = [
         "network-online.target"
         "mosquitto.target"