]> Git — Sourcephile - julm/julm-nix.git/blob - hosts/patate/wireguard.nix
Add given password for hosts/patate/ssh/host.key to store.
[julm/julm-nix.git] / hosts / patate / wireguard.nix
1 _:
2 {
3 systemd.services."wireguard-wg-intra".serviceConfig.LoadCredentialEncrypted = [
4 "privateKey:${./wireguard/wg-intra/privateKey.cred}"
5 ];
6 networking.wireguard.wg-intra.peers.mermet.enable = true;
7 networking.wireguard.wg-intra.peers.losurdo.enable = true;
8 networking.wireguard.wg-intra.peers.aubergine.enable = true;
9 networking.wireguard.wg-intra.peers.oignon.enable = true;
10 }