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:
parent
a27b7de7fa
commit
36664f243e
2 changed files with 12 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue