NixOS / NixOS/nixpkgs

nixos/fwupd: cannot disable firmware reports

Open
#453,080 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0.kind: bug 2.status: stale 6.topic: nixos
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
  1. Update firmware with fwupd;
  2. Run fwupdmgr get-updates;
  3. Reject request to upload, and disable the feature;
  4. Run fwupdmgr get-updates again, and notice that disabling did work;
  5. Reboot the system;
  6. Run fwupdmgr get-updates once 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
Is this issue important to you?

Add a 👍 reaction to issues you find important.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.