Add fwupd to hikari3

In order to update firmware and bios.
This commit is contained in:
Daniel Siepmann 2024-06-19 07:53:42 +02:00
parent a2b755cb3b
commit 8c5127aa45
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
3 changed files with 10 additions and 0 deletions

View file

@ -6,6 +6,9 @@ writeShellApplication {
name = "custom-update-operating-system"; name = "custom-update-operating-system";
text = '' text = ''
sudo fwupdmgr get-updates
fwupdmgr update -y
sudo nixos-rebuild switch --upgrade-all sudo nixos-rebuild switch --upgrade-all
# shellcheck disable=SC2010 # shellcheck disable=SC2010

View file

@ -90,6 +90,13 @@
enable = true; enable = true;
user = "daniels"; user = "daniels";
}; };
fwupd = {
enable = true;
extraRemotes = [
"lvfs-testing"
];
};
}; };
# Enable sound with pipewire. # Enable sound with pipewire.