networking: add option to toggle the wait-online service

This commit is contained in:
Peter Hoeg
2017-10-14 14:38:04 +08:00
parent 0944d44f1b
commit 8758f476b3
+9
View File
@@ -186,6 +186,15 @@ in
'';
};
};
networking.waitForOnline = lib.mkOption {
type = types.bool;
default = true;
description = ''
When bringing up the network, always wait for it to be online before continuing.
This is currently only implemented for networkd.
'';
};
};
config = {