diff options
author | nicoo <nicoo@mur.at> | 2023-10-22 17:58:58 +0000 |
---|---|---|
committer | nicoo <nicoo@mur.at> | 2023-11-08 19:41:38 +0000 |
commit | 097115485a06318e17d1298bd2c231e4fe0f267c (patch) | |
tree | 049734d7451c4fa35ea257b3231e7ae51252dbd1 /nixos/modules/config | |
parent | 77ed368b2088833540c6317aa267ee8e75363d21 (diff) |
nixos/terminfo: Simplify sudo-related option
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/terminfo.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/nixos/modules/config/terminfo.nix b/nixos/modules/config/terminfo.nix index d1dbc4e0d0598..ebd1aaea8f04a 100644 --- a/nixos/modules/config/terminfo.nix +++ b/nixos/modules/config/terminfo.nix @@ -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` |