you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 1 year ago (7 children)

For instance, I recently discovered the structuredExtraConfig option for patching the kernel straight up does not work. This means you cannot unset any kernel options

From reading, I thought this option was for adding options, not removing them. Sure, you might be able to set options to "no", but I don't think this will override the defaults...

  • source
  • parent
  • hideshow 7 child comments
  • [–] 7 points 1 year ago (6 children)

    You're supposed to be able to use lib.kernel.unset to unset them. In any case, that's just one problem. The main issue is the entire option is ignored because of a typo in nixpkgs.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 4 points 1 year ago (4 children)

    Would you mind opening a PR to fix that typo? Would be useful for others as well!

  • source
  • parent
  • hideshow 4 child comments
  • [–] 10 points 1 year ago* (last edited 1 year ago) (3 children)

    I'm planning to, I'm waiting for the kernel to finish building rn lol

    EDIT: PR got merged BTW (https://github.com/NixOS/nixpkgs/pull/431115).

  • source
  • parent
  • hideshow 3 child comments