nixos/fwupd: cannot disable firmware reports
Nobody has claimed this yet.
- Dominant language
- Nix
- Stars
- 26.2k
- Forks
- 20.1k
- PR merge metrics
- PR metrics pending
Description
Nixpkgs version
- Unstable (25.11)
Describe the bug
fwupd has a feature where users can report firmware updates to "[help] hardware vendors to quickly identify failing and successful updates on real devices". This is opt-in, but fwupd will nag the user about it when running fwupdmgr get-updates, unless the feature is disabled. However, disabling this feature entails editing files in /etc/fwupd/remotes.d/, which are overwritten by NixOS when the system is activated, therefore re-enabling the feature. It also appears to be impossible to modify this from a NixOS configuration, as this configuration is remote-specific (ReportURI), but the NixOS module appears to only permit modification of the general config.
I feel like this is a recent issue, as I believe I have updated my firmware with fwupdmgr before on this install, but I don't recall running into this problem.
Steps to reproduce
- Update firmware with fwupd;
- Run
fwupdmgr get-updates; - Reject request to upload, and disable the feature;
- Run
fwupdmgr get-updatesagain, and notice that disabling did work; - Reboot the system;
- Run
fwupdmgr get-updatesonce more, and notice that it got re-enabled.
Expected behaviour
It should remain disabled in step 6.
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.17.1, NixOS, 25.11 (Xantusia), 25.11.20251015.544961d - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.32.0 - nixpkgs:
/nix/store/rcsmdj802sk3w9l8m0b0bvdy0jiw2wgr-source
Notify maintainers
@R-VdP @JohnAZoidberg
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the NixOS fwupd module and inspect how it generates files under /etc/fwupd/remotes.d/. Reproduce the setting through system activation and a reboot, then use fwupdmgr get-updates to verify that firmware reporting remains disabled. The issue does not name a source file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100