summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkullheadx <andrew.montgomery@warpengine.ai>2026-06-30 09:20:17 -0400
committerSkullheadx <andrew.montgomery@warpengine.ai>2026-06-30 10:14:00 -0400
commit02ee0b3772da293f4646741c2e91d3a51f1e6598 (patch)
tree6e5d928e5ad96905722ad8bd019e7440102e3e9b
parentuse insecure? (diff)
downloadnixos-02ee0b3772da293f4646741c2e91d3a51f1e6598.tar.gz
nixos-02ee0b3772da293f4646741c2e91d3a51f1e6598.tar.bz2
nixos-02ee0b3772da293f4646741c2e91d3a51f1e6598.zip
add sudo longer timeout for darwin
-rw-r--r--common-darwin.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/common-darwin.nix b/common-darwin.nix
index 3e0dc45..0b3bde3 100644
--- a/common-darwin.nix
+++ b/common-darwin.nix
@@ -46,6 +46,10 @@
nerd-fonts.fira-code
];
+ security.sudo.extraConfig = ''
+ Defaults timestamp_type=global
+ Defaults timestamp_timeout=60
+ '';
security.pam.services.sudo_local = {
enable = true;
reattach = true;