nixos/wg-quick: add autostart option to interfaces (#162219)
This adds the option `networking.wg-quick.interfaces.<name>.autostart`, which defaults to `true`, which is the previous behavior. With this option set to `false`, the systemd-unit will no longer be set to `wantedBy = [ "multi-user.target" ]` and therefore the tunnel has to be enabled/disabled via `systemctl start/stop wg-quick-<name>`. Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>main
parent
216b4f1813
commit
b4c2ffaffa
Loading…
Reference in new issue