small update

This commit is contained in:
Bloxx12 2025-07-13 22:51:22 +02:00
commit b1490ec9a8
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E
100 changed files with 187 additions and 1695 deletions

View file

@ -1,23 +0,0 @@
{
lib,
pkgs,
...
}: let
inherit (lib.modules) mkForce mkDefault;
in {
security = {
sudo-rs.enable = mkForce false;
sudo = {
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;};
# Wheel user should need the password to execute sudo commands
wheelNeedsPassword = mkDefault true;
# BUT, only wheel users should be able to use sudo.
execWheelOnly = mkForce true;
};
};
}