From 78bc3d1d004f943f6d48b8f7641e0be7e7965921 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Fri, 18 Apr 2025 15:16:16 +0200 Subject: [PATCH] feat: add fwupd --- config.scm | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/config.scm b/config.scm index 3551a85..234aa42 100644 --- a/config.scm +++ b/config.scm @@ -7,6 +7,7 @@ (use-modules (nongnu packages linux) (nongnu system linux-initrd) + (nongnu packages firmware) (gnu) (gnu system privilege) (gnu packages admin) @@ -23,7 +24,8 @@ (use-package-modules gnome package-management shells networking wm vim wget curl bash compression glib linux embedded finance python-xyz freedesktop - python-build haskell-apps commencement) + python-build haskell-apps commencement + polkit firmware) (define wireshark-patched (package/inherit wireshark @@ -196,6 +198,8 @@ wget curl vim nix + polkit ;; get pktty + fwupd-nonfree wireshark-patched) %base-packages)) @@ -221,7 +225,15 @@ guix-service-type (guix-extension (authorized-keys (list (local-file "keys/nonguix-signing-key.pub"))) - (substitute-urls '("https://substitutes.nonguix.org"))))) + (substitute-urls '("https://substitutes.nonguix.org")))) + + polkit-wheel-service + (simple-service 'dbus-fwupd + dbus-root-service-type + (list fwupd-nonfree)) + (simple-service 'polkit-fwupd + polkit-service-type + (list fwupd-nonfree))) %ruther/udev-services %ruther/container-virt-services -- 2.49.0