Loading nixos/modules/security/sudo.nix +9 −3 Original line number Diff line number Diff line Loading @@ -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" { }; Loading nixos/tests/sudo.nix +2 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,8 @@ in }; security.sudo = { enable = true; # Explicitly _not_ defining 'enable = true;' here, to check that sudo is enabled by default wheelNeedsPassword = false; extraConfig = '' Loading Loading
nixos/modules/security/sudo.nix +9 −3 Original line number Diff line number Diff line Loading @@ -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" { }; Loading
nixos/tests/sudo.nix +2 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,8 @@ in }; security.sudo = { enable = true; # Explicitly _not_ defining 'enable = true;' here, to check that sudo is enabled by default wheelNeedsPassword = false; extraConfig = '' Loading