18 lines
333 B
Nix
18 lines
333 B
Nix
{
|
|
security.sudo.extraRules = [
|
|
{
|
|
users = [ "openclaw" ];
|
|
commands = [
|
|
{
|
|
command = "/run/current-system/sw/bin/cat";
|
|
options = [ "NOPASSWD" ];
|
|
}
|
|
{
|
|
command = "/run/current-system/sw/bin/docker";
|
|
options = [ "NOPASSWD" ];
|
|
}
|
|
];
|
|
}
|
|
];
|
|
}
|