mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
nixos/terminfo: Simplify sudo-related option
This commit is contained in:
parent
77ed368b20
commit
097115485a
1 changed files with 1 additions and 4 deletions
|
@ -16,10 +16,7 @@ with lib;
|
|||
};
|
||||
|
||||
security.sudo.keepTerminfo = mkOption {
|
||||
default = config.security.sudo.package.pname != "sudo-rs";
|
||||
defaultText = literalMD ''
|
||||
`true` unless using `sudo-rs`
|
||||
'';
|
||||
default = true;
|
||||
type = types.bool;
|
||||
description = lib.mdDoc ''
|
||||
Whether to preserve the `TERMINFO` and `TERMINFO_DIRS`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue