networking: add option to toggle the wait-online service

This commit is contained in:
Peter Hoeg 2017-04-14 11:10:33 +08:00
parent 0944d44f1b
commit 8758f476b3

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 = { config = {