16 lines
311 B
Nix
16 lines
311 B
Nix
{ inputs, ... }: {
|
|
flake.modules.nixos.sudo = { pkgs, lib, ... }: {
|
|
security.sudo = {
|
|
enable = true;
|
|
extraRules = [{
|
|
groups = [ "wheel" ];
|
|
commands = [
|
|
{
|
|
command = "ALL";
|
|
options = [ "NOPASSWD" ];
|
|
}
|
|
];
|
|
}];
|
|
};
|
|
};
|
|
} |