fix(mottarone): re-enable openconnect nm plugin
This commit is contained in:
parent
e9b3c8e8ab
commit
d9296d47fe
2 changed files with 14 additions and 12 deletions
|
@ -31,7 +31,6 @@
|
|||
networkmanager = {
|
||||
enable = true;
|
||||
dns = "systemd-resolved";
|
||||
plugins = [ pkgs.networkmanager-fortisslvpn ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -43,7 +43,9 @@
|
|||
|
||||
networking = {
|
||||
firewall.allowedTCPPorts = [ 8000 ];
|
||||
networkmanager.dispatcherScripts = [
|
||||
networkmanager = {
|
||||
plugins = [ pkgs.networkmanager-openconnect ];
|
||||
dispatcherScripts = [
|
||||
{
|
||||
type = "basic";
|
||||
source = pkgs.writeShellScript "vpnUpHook" ''
|
||||
|
@ -55,6 +57,7 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
resolved = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue