Fwupd: Difference between revisions

From NixOS Wiki
imported>Onny
Add fwupd page
 
m fix LVFS name
 
(3 intermediate revisions by 3 users not shown)
Line 9: Line 9:
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
services.fwupd.enable = true;
services.fwupd.enable = true;
services.dbus.packages = [ pkgs.fwupd ];
</syntaxhighlight>
</syntaxhighlight>


Line 20: Line 19:
{{Note|Listed devices may not be updatable through ''fwupd'' (''e.g.'' Intel integrated graphics). Alternative vendor solutions may be provided instead.}}
{{Note|Listed devices may not be updatable through ''fwupd'' (''e.g.'' Intel integrated graphics). Alternative vendor solutions may be provided instead.}}


To download the latest metadata from the [https://fwupd.org/ Linux Vendor firmware Service (LVFS)]:
To download the latest metadata from the [https://fwupd.org/ Linux Vendor Firmware Service (LVFS)]:


  $ fwupdmgr refresh
  $ fwupdmgr refresh
Line 35: Line 34:
* Updates that can be applied live will be done immediately.
* Updates that can be applied live will be done immediately.
* Updates that run at bootup will be staged for the next reboot.
* Updates that run at bootup will be staged for the next reboot.
* The root user may be required to perform certain device updates.
* The root user may be required to perform certain device updates.}}
}}
 
[[Category:Server]]
[[Category:Desktop]]

Latest revision as of 16:44, 4 May 2024

fwupd is a simple daemon allowing you to update some devices' firmware, including UEFI for several machines.

Supported devices are listed here and more are to come.

Installation

To use and install fwup daemon and user space client, add following part to your config:

services.fwupd.enable = true;

Usage

To display all devices detected by fwupd:

$ fwupdmgr get-devices
Note: Listed devices may not be updatable through fwupd (e.g. Intel integrated graphics). Alternative vendor solutions may be provided instead.

To download the latest metadata from the Linux Vendor Firmware Service (LVFS):

$ fwupdmgr refresh

To list updates available for any devices on the system:

$ fwupdmgr get-updates

To install updates:

$ fwupdmgr update
Note:
  • Updates that can be applied live will be done immediately.
  • Updates that run at bootup will be staged for the next reboot.
  • The root user may be required to perform certain device updates.