Allow AI agents to build the system without asking for password.
Co-Authored-By: Claude <noreply@anthropic.com>
(cons* (setuid-program (program xsecurelock-auth))
%setuid-programs)))
+ (sudoers-file (let ((content (string-append "root ALL=(ALL) ALL\n"
+ "%wheel ALL=(ALL) ALL\n"
+ "dak ALL=(ALL) NOPASSWD: "
+ "/run/current-system/profile/bin/guix "
+ "system reconfigure *\n")))
+ (plain-file "sudoers" content)))
+
(packages (append (list gnu-make bluez pulseaudio volume)
dwm-desktop-packages %base-packages))