diff options
Diffstat (limited to 'nixos/modules/security/sudo-rs.nix')
-rw-r--r-- | nixos/modules/security/sudo-rs.nix | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/nixos/modules/security/sudo-rs.nix b/nixos/modules/security/sudo-rs.nix index 6b8f09a8d3d0c..a9ef6aa629cbc 100644 --- a/nixos/modules/security/sudo-rs.nix +++ b/nixos/modules/security/sudo-rs.nix @@ -60,14 +60,7 @@ in ''; }; - package = mkOption { - type = types.package; - default = pkgs.sudo-rs; - defaultText = literalExpression "pkgs.sudo-rs"; - description = mdDoc '' - Which package to use for `sudo`. - ''; - }; + package = mkPackageOption pkgs "sudo-rs" { }; wheelNeedsPassword = mkOption { type = types.bool; |