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 = {
|
||||
dns = "systemd-resolved";
|
||||
enableStrongSwan = false;
|
||||
extraConfig = ''
|
||||
[connectivity]
|
||||
uri=http://whoami.privatevoid.net/online
|
||||
response=CONNECTED_GLOBAL
|
||||
interval=120
|
||||
'';
|
||||
settings.connectivity = {
|
||||
url = "http://whoami.privatevoid.net/online";
|
||||
respone = "CONNECTED_GLOBAL";
|
||||
interval = 120;
|
||||
};
|
||||
};
|
||||
services.resolved = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue