From d27f8b61eef1eb89ce18047b0a267db4d75c2719 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sat, 5 Oct 2024 21:58:57 +0200 Subject: [PATCH] feat: openocd udev rules --- config.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config.scm b/config.scm index 7c2c04c..1ff52b9 100644 --- a/config.scm +++ b/config.scm @@ -12,7 +12,7 @@ (guix utils) (ruther bootloader grub)) (use-service-modules desktop sddm xorg base nix pm virtualization vpn sound dbus cups) -(use-package-modules gnome package-management shells networking wm vim wget curl bash compression glib linux) +(use-package-modules gnome package-management shells networking wm vim wget curl bash compression glib linux embedded) (operating-system (kernel linux) @@ -62,7 +62,8 @@ (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video" - "libvirt")) + "libvirt" "dialout" + "kvm")) (shell (file-append zsh "/bin/zsh"))) %base-user-accounts)) @@ -105,6 +106,8 @@ (service pam-limits-service-type (list (pam-limits-entry "@wheel" 'both 'core 'unlimited))) + (udev-rules-service 'openocd-udev + (file->udev-rule "60-openocd.rules" (file-append openocd "/lib/udev/rules.d/60-openocd.rules"))) ;; For starting blueman mechanism. ;; It needs privileges, so cannot be started from a user dbus session. -- 2.48.1