From 0d6339c1327d07f8bcb5dfe05d1ed54551baf2d9 Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 24 Mar 2022 20:09:44 +0100 Subject: machines/dnyarri: Add fwupd Another thing that was hanging around in configuration.nix and with my new hardware it actually became useful since it does have capsule updates. Signed-off-by: aszlig --- machines/aszlig/dnyarri.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'machines') diff --git a/machines/aszlig/dnyarri.nix b/machines/aszlig/dnyarri.nix index b670871d..68498109 100644 --- a/machines/aszlig/dnyarri.nix +++ b/machines/aszlig/dnyarri.nix @@ -55,6 +55,14 @@ in { pkgs.paperwork ]; + services.fwupd.enable = true; + services.fwupd.package = pkgs.fwupd.overrideAttrs (drv: { + # This is to disable reports because they include identifying information. + postInstall = (drv.postInstall or "") + '' + sed -i -e '/ReportURI/d' "$out"/etc/fwupd/remotes.d/*.conf + ''; + }); + hardware.cpu.amd.updateMicrocode = true; hardware.sane.enable = true; -- cgit 1.4.1