nixos/terminfo: Simplify sudo-related option

nicoo 09711548 77ed368b

Changed files
+1 -4
nixos
modules
config
+1 -4
nixos/modules/config/terminfo.nix
···
};
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`