feat: sudoers for homebridge
This commit is contained in:
parent
dd3763dd75
commit
d79689fd55
2 changed files with 20 additions and 4 deletions
|
|
@ -15,4 +15,20 @@
|
|||
tls internal
|
||||
'';
|
||||
};
|
||||
|
||||
security.sudo = {
|
||||
enable = true;
|
||||
|
||||
extraRules = [
|
||||
{
|
||||
users = [ "homebridge" ];
|
||||
commands = [
|
||||
{
|
||||
command = "ALL";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue