Closed LisannaAtHome closed 2 years ago
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
Fixed because modulePath is being used now
nixos-generate-config can produce
hardware-configuration.nix
files that depend on<nixpkgs>
, which can screw up evaluations that are using pinned versions of nixpkgs via thenixpkgs.pkgs
option. If<nixpkgs>
points to a version of nixpkgs that's significantly different than the one pinned vianixpkgs.pkgs
, the evaluation can fail in spooky and byzantine ways.Example:
IMO this limits use of the
nixpkgs.pkgs
option to only extremely expert nix powerusers. There's no way an intermediate Nix or NixOps user would be able to discern what's wrong from the kinds of failures this can produce.