Skip to content

Commit

Permalink
fix(nix): add nz specific route to work under VPN
Browse files Browse the repository at this point in the history
  • Loading branch information
sbulav committed Oct 23, 2024
1 parent e527f5e commit 6b6a381
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nix/systems/x86_64-linux/nz/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@
"100.91.128.100" = ["vault-c11.pyn.ru"];
"100.92.128.100" = ["vault-c12.pyn.ru"];
};
networking.interfaces.wlp3s0.ipv4.routes = [
{
address = "192.168.89.0";
prefixLength = 24;
via = "192.168.88.1";
}
];
# networking.interfaces.enp2s0f0.useDHCP = lib.mkDefault true;
# networking.interfaces.enp5s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true;
Expand Down

0 comments on commit 6b6a381

Please sign in to comment.