nixos/sudo: enable by default

The default was accidentally changed to false in #262790
This commit is contained in:
Yureka 2023-11-10 03:30:39 +01:00
parent 17ddb57c8e
commit b0206f9bf9

View file

@ -41,9 +41,15 @@ in
'';
};
enable = mkEnableOption (mdDoc ''
the {command}`sudo` command, which allows non-root users to execute commands as root.
'');
enable = mkOption {
type = types.bool;
default = true;
description =
lib.mdDoc ''
Whether to enable the {command}`sudo` command, which
allows non-root users to execute commands as root.
'';
};
package = mkPackageOption pkgs "sudo" { };