sudo: use Theo de Raadt's quote list for insults

Signed-off-by: faukah <fau@faukah.com>
Change-Id: I6a6a69642a62454277434355a51bfa46492c8af3
This commit is contained in:
faukah 2025-07-29 22:44:25 +02:00
commit f0d3993af5
2 changed files with 996 additions and 1 deletions

View file

@ -13,7 +13,9 @@ in
enable = true;
# We use the default sudo package, but with insults if we
# fail to provide the correct password
package = pkgs.sudo.override { withInsults = true; };
package = (pkgs.sudo.override { withInsults = true; }).overrideAttrs (_: {
patches = [ ./insults.patch ];
});
# Wheel user should need the password to execute sudo commands
wheelNeedsPassword = mkDefault true;