Rename useNetworkd to networkD.enable, add waitOnline option.
This commit is contained in:
parent
afbab36559
commit
09df9f171a
3 changed files with 49 additions and 15 deletions
|
@ -59,12 +59,21 @@ in {
|
|||
The Machines HostName
|
||||
'';
|
||||
};
|
||||
useNetworkd = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Disables dhcpcd and enables networkd.
|
||||
'';
|
||||
networkD = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Disables dhcpcd and enables networkd.
|
||||
'';
|
||||
};
|
||||
waitOnline = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = ''
|
||||
Enables/disables systemd-networkd-wait-online service.
|
||||
'';
|
||||
};
|
||||
};
|
||||
binaryCaches = mkOption {
|
||||
type = types.listOf types.str;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue