WireGuard: Difference between revisions
imported from old wiki |
|||
Line 262: | Line 262: | ||
}; | }; | ||
wireguardPeers = [ | wireguardPeers = [ | ||
# configuration since nixos-unstable/nixos-24.11 | |||
{ | { | ||
PublicKey = "L4msD0mEG2ctKDtaMJW2y3cs1fT2LBRVV7iVlWZ2nZc="; | |||
AllowedIPs = ["10.100.0.2"]; | |||
} | } | ||
# configuration for nixos 24.05 | |||
#{ | |||
# wireguardPeerConfig = { | |||
# PublicKey = "L4msD0mEG2ctKDtaMJW2y3cs1fT2LBRVV7iVlWZ2nZc="; | |||
# AllowedIPs = ["10.100.0.2"]; | |||
# }; | |||
#} | |||
]; | ]; | ||
}; | }; |