summary refs log tree commit diff
path: root/nixos/modules/config
diff options
context:
space:
mode:
authornicoo <nicoo@mur.at>2023-10-22 17:58:58 +0000
committernicoo <nicoo@mur.at>2023-11-08 19:41:38 +0000
commit097115485a06318e17d1298bd2c231e4fe0f267c (patch)
tree049734d7451c4fa35ea257b3231e7ae51252dbd1 /nixos/modules/config
parent77ed368b2088833540c6317aa267ee8e75363d21 (diff)
downloadnixpkgs-097115485a06318e17d1298bd2c231e4fe0f267c.tar
nixpkgs-097115485a06318e17d1298bd2c231e4fe0f267c.tar.gz
nixpkgs-097115485a06318e17d1298bd2c231e4fe0f267c.tar.bz2
nixpkgs-097115485a06318e17d1298bd2c231e4fe0f267c.tar.lz
nixpkgs-097115485a06318e17d1298bd2c231e4fe0f267c.tar.xz
nixpkgs-097115485a06318e17d1298bd2c231e4fe0f267c.tar.zst
nixpkgs-097115485a06318e17d1298bd2c231e4fe0f267c.zip
nixos/terminfo: Simplify sudo-related option
Diffstat (limited to 'nixos/modules/config')
-rw-r--r--nixos/modules/config/terminfo.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/nixos/modules/config/terminfo.nix b/nixos/modules/config/terminfo.nix
index d1dbc4e0d05..ebd1aaea8f0 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`