services: wireguard: allow disabling service

Only the server *needs* to have wireguard up at all times. However a
laptop or desktop probably doesn't need it up at all times.
This commit is contained in:
Bruno BELANYI 2021-04-23 18:29:06 +00:00
parent f79fcd020b
commit 84b61b25b3
2 changed files with 11 additions and 0 deletions

View file

@ -103,6 +103,7 @@ in
# Simple, in-kernel VPN
wireguard = {
enable = true;
startAtBoot = true; # Server must be started to ensure clients can connect
};
};