Dasha : Fix vpn.
This commit is contained in:
parent
3124bf3a50
commit
b05c512d29
|
@ -6,4 +6,16 @@
|
|||
# strongswan
|
||||
# strongswanNM
|
||||
];
|
||||
networking.networkmanager.enableStrongSwan = true;
|
||||
services.xl2tpd.enable = true;
|
||||
services.strongswan = {
|
||||
enable = true;
|
||||
secrets = [
|
||||
"ipsec.d/ipsec.nm-l2tp.secrets"
|
||||
];
|
||||
};
|
||||
# NOTE: Try this if VPN ever breaks.
|
||||
# systemd.tmpfiles.rules = [
|
||||
# "L /etc/ipsec.secrets - - - - /etc/ipsec.d/ipsec.nm-l2tp.secrets"
|
||||
# ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue