]> Git — Sourcephile - julm/julm-nix.git/blob - hosts/patate/wireguard.nix
nix: use builtins.path to avoid changes when inputs.self changes
[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.aubergine.enable = true;
8 networking.wireguard.wg-intra.peers.oignon.enable = true;
9 }