Rename useNetworkd to networkD.enable, add waitOnline option.

This commit is contained in:
Kevin Baensch 2023-08-26 08:02:47 +02:00
parent afbab36559
commit 09df9f171a
Signed by: derped
GPG key ID: C0F1D326C7626543
3 changed files with 49 additions and 15 deletions

View file

@ -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;