fix: remove unnecessary sudo rules and adjust permissions for container directories
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
parent
fe4d3f4432
commit
eeab4c1818
3 changed files with 4 additions and 20 deletions
|
|
@ -41,18 +41,6 @@
|
|||
];
|
||||
|
||||
security.sudo.wheelNeedsPassword = true;
|
||||
security.sudo.extraRules = [
|
||||
{
|
||||
users = [ "reudy" ];
|
||||
commands = [
|
||||
{
|
||||
command = "/run/current-system/sw/bin/systemctl reload caddy";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue