modules/networking-client: use structured NM settings
This commit is contained in:
parent
89de65f5ea
commit
402b398d37
1 changed files with 5 additions and 6 deletions
|
@ -6,12 +6,11 @@
|
||||||
networking.networkmanager = {
|
networking.networkmanager = {
|
||||||
dns = "systemd-resolved";
|
dns = "systemd-resolved";
|
||||||
enableStrongSwan = false;
|
enableStrongSwan = false;
|
||||||
extraConfig = ''
|
settings.connectivity = {
|
||||||
[connectivity]
|
url = "http://whoami.privatevoid.net/online";
|
||||||
uri=http://whoami.privatevoid.net/online
|
respone = "CONNECTED_GLOBAL";
|
||||||
response=CONNECTED_GLOBAL
|
interval = 120;
|
||||||
interval=120
|
};
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
services.resolved = {
|
services.resolved = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue