Compare commits
5 Commits
de911e358b
...
47aa29ba33
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
47aa29ba33 | ||
|
|
0970f7d0ee | ||
|
|
e5746332bb | ||
|
|
e38e0b95dc | ||
|
|
e6669a9d88 |
@@ -19,6 +19,9 @@
|
|||||||
# networking
|
# networking
|
||||||
./modules/nixos/laptop.nix
|
./modules/nixos/laptop.nix
|
||||||
|
|
||||||
|
# vpn
|
||||||
|
./modules/nixos/openvpn-client.nix
|
||||||
|
|
||||||
# ly display manager
|
# ly display manager
|
||||||
./modules/nixos/ly.nix
|
./modules/nixos/ly.nix
|
||||||
|
|
||||||
|
|||||||
8
modules/nixos/openvpn-client.nix
Normal file
8
modules/nixos/openvpn-client.nix
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{lib, ...}: {
|
||||||
|
services.openvpn.servers = {
|
||||||
|
"173.249.5.230" = {config = ''config /etc/openvpn-confs/173.249.5.230.ovpn'';};
|
||||||
|
};
|
||||||
|
networking.enableIPv6 = lib.mkForce false;
|
||||||
|
environment.persistence."/persist".directories = ["/etc/openvpn-confs"];
|
||||||
|
boot.kernelParams = ["ipv6.disable=1"];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user