nixos/terminfo: Simplify sudo-related option
This commit is contained in:
@@ -16,10 +16,7 @@ with lib;
|
|||||||
};
|
};
|
||||||
|
|
||||||
security.sudo.keepTerminfo = mkOption {
|
security.sudo.keepTerminfo = mkOption {
|
||||||
default = config.security.sudo.package.pname != "sudo-rs";
|
default = true;
|
||||||
defaultText = literalMD ''
|
|
||||||
`true` unless using `sudo-rs`
|
|
||||||
'';
|
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
description = lib.mdDoc ''
|
description = lib.mdDoc ''
|
||||||
Whether to preserve the `TERMINFO` and `TERMINFO_DIRS`
|
Whether to preserve the `TERMINFO` and `TERMINFO_DIRS`
|
||||||
|
|||||||
Reference in New Issue
Block a user