{ pkgs, config, lib, inputs, ... }: { # passwordless rebuild security.sudo.extraRules = [ { users = ["blake"]; commands = [ { command = "/run/current-system/sw/bin/nixos-rebuild"; options = ["NOPASSWD"]; } { command = "/run/current-system/sw/bin/systemctl"; options = ["NOPASSWD"]; } { command = "/run/current-system/sw/bin/journalctl"; options = ["NOPASSWD"]; } { command = "/run/current-system/sw/bin/tailscale"; options = ["NOPASSWD"]; } ]; } ]; }