Skip to content

Commit

Permalink
fix(darwin): keep sudo terminfo
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter committed Sep 9, 2024
1 parent 7365f30 commit 574b364
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/darwin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
'';
};

security.sudo.extraConfig = ''
Defaults env_keep += "TERMINFO"
'';

nixpkgs.hostPlatform = "aarch64-darwin";

services.nix-daemon.enable = true;
Expand Down

0 comments on commit 574b364

Please sign in to comment.