networking: add option to toggle the wait-online service
This commit is contained in:
parent
0944d44f1b
commit
8758f476b3
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue