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