mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 13:03:30 +01:00
lib.mkIf returns an attrset, not a string, so it cannot be used
as a list element. Replace with lib.optional.
Fixes: error: expected a string but found a set: { _type = "if"; ... }
Framework Laptop 13
Updating Firmware
First put enable fwupd
services.fwupd.enable = true;
Then run
$ fwupdmgr update