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
|
let
|
||||||
cfg = config.local.services.vpn.wireguard;
|
cfg = config.local.services.vpn.wireguard;
|
||||||
|
|
||||||
addrsViaDefaultInterface = [
|
addrsViaDefaultInterface = import ./defaultInterfaceAddrs.secret.nix;
|
||||||
# cache.nixos.org
|
|
||||||
"151.101.86.217/32"
|
|
||||||
"146.75.118.217/32"
|
|
||||||
# tbank.ru
|
|
||||||
"178.248.236.218/32"
|
|
||||||
];
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.local.services.vpn.wireguard = with lib; {
|
options.local.services.vpn.wireguard = with lib; {
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue