Add sudo rules for reudy to allow NOPASSWD systemctl reload for caddy and update panelctl.sh to use docker.io for image reference

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Jakub Dorfman 2026-04-26 20:16:42 +02:00
parent a27b7de7fa
commit 36664f243e
2 changed files with 12 additions and 1 deletions

View file

@ -80,6 +80,17 @@
};
security.sudo.wheelNeedsPassword = true;
security.sudo.extraRules = [
{
users = [ "reudy" ];
commands = [
{
command = "${pkgs.systemd}/bin/systemctl reload caddy";
options = [ "NOPASSWD" ];
}
];
}
];
services.openssh = {