nixos/wireguard: move default interface addrs to the secret file, add more hosts
This commit is contained in:
parent
ea0b6b36d4
commit
f8dcf9d781
2 changed files with 1 additions and 7 deletions
modules/nixos/services/vpn/wireguard
|
@ -3,13 +3,7 @@
|
|||
let
|
||||
cfg = config.local.services.vpn.wireguard;
|
||||
|
||||
addrsViaDefaultInterface = [
|
||||
# cache.nixos.org
|
||||
"151.101.86.217/32"
|
||||
"146.75.118.217/32"
|
||||
# tbank.ru
|
||||
"178.248.236.218/32"
|
||||
];
|
||||
addrsViaDefaultInterface = import ./defaultInterfaceAddrs.secret.nix;
|
||||
in
|
||||
{
|
||||
options.local.services.vpn.wireguard = with lib; {
|
||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue