Open britter opened 3 hours ago
That's actually an issue with networkd. We have disabled the wait-online.target everywhere without having had any downsides: https://github.com/nix-community/srvos/blob/e26a814735f50034e35dff637efad2d502698d09/nixos/common/networking.nix#L16
Not sure if we should do the same here.
Can't tell. I guess you had a reason for enabling it in https://github.com/numtide/nixos-facter-modules/commit/b4beb32149a16d15220e307ca4c9d7ff4eddc3ce.
Describe the bug
After updating to rev 505386dda29452140f93734509b03de57986af57 I can't
nixos-rebuild switch
anymore on my laptop. Switch fails withI'm think this is related to the change introduced in https://github.com/numtide/nixos-facter-modules/commit/b4beb32149a16d15220e307ca4c9d7ff4eddc3ce in combination with https://github.com/numtide/nixos-facter-modules/commit/cbbb0f780bddc5648ca4ee33a6c788e07c971776 (the latter fixing the enabled state of the module).
To Reproduce
Not sure it's possible to reproduce it without my machine. I guess you could build a vm from https://github.com/britter/nix-configuration rev aca40ed12989136e8807a2a572cf3c22e199d284. Enabling this configuration fails unless
facter.detected.dhcp.enable = false
.Expected behavior Using facter-modules does not break networking or switching to a new generation.
System information
Additional context