unset reloadTriggers for nixos/tinc

This commit is contained in:
Jörg Thalheim 2022-12-29 13:34:29 +01:00
parent 1ae040dd93
commit 64861e358a
1 changed files with 2 additions and 0 deletions

View File

@ -82,6 +82,8 @@ in {
systemd.services."tinc.${netname}" = {
restartTriggers = [ hosts ];
# upstream defines this, but since we also set reloadIfChanged, we get a warning.
reloadTriggers = lib.mkForce [ ];
# Some hosts require VPN for nixos-rebuild, so we don't want to restart it on update
reloadIfChanged = true;
# also in https://github.com/NixOS/nixpkgs/pull/106715