Add firmware updating through fwupd via the Linux Vendor firmware Service (LVFS).

This commit is contained in:
Tom Alexander 2025-01-14 21:54:21 -05:00
parent 0299ebcb43
commit 7c542364a2
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 34 additions and 0 deletions

View File

@ -49,6 +49,7 @@
./roles/steam
./roles/latex
./roles/launch_keyboard
./roles/lvfs
./roles/nvme
];

View File

@ -0,0 +1,33 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [ ];
config = lib.mkMerge [
{
services.fwupd.enable = true;
environment.persistence."/persist" = lib.mkIf (!config.me.buildingIso) {
hideMounts = true;
directories = [
{
directory = "/var/lib/fwupd";
user = "root";
group = "root";
mode = "0755";
}
];
};
}
(lib.mkIf config.me.graphical {
environment.systemPackages = with pkgs; [
gnome-firmware
];
})
];
}