fix: terminfo error on macOS

This commit is contained in:
Ryan Yin
2023-12-08 14:22:33 +08:00
parent cb6f46aea8
commit 56f2abc737
5 changed files with 33 additions and 7 deletions

View File

@@ -43,6 +43,9 @@
};
users.users.root.initialHashedPassword = "$7$CU..../....X6uvZYnFD.i1CqqFFNl4./$4vgqzIPyw5XBr0aCDFbY/UIRRJr7h5SMGoQ/ZvX3FP2";
# fix for `sudo xxx` in kitty/wezterm and other modern terminal emulators
security.sudo.keepTerminfo = true;
# DO NOT promote the specified user to input password for `nix-store` and `nix-copy-closure`
security.sudo.extraRules = [
{