about summary refs log tree commit diff
path: root/machines/aszlig/dnyarri.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/aszlig/dnyarri.nix')
-rw-r--r--machines/aszlig/dnyarri.nix8
1 files changed, 8 insertions, 0 deletions
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;