keep the environment, need that for many scripts

This commit is contained in:
Christoph Cullmann 2025-05-09 23:19:20 +02:00
parent a9a8902858
commit eeb197bdd8
No known key found for this signature in database

View file

@ -547,6 +547,11 @@ in
# use doas instead of sudo
security.sudo.enable = false;
security.doas.enable = true;
security.doas.extraRules = [
# wheel users are allowed to become all users
# keep the environment, need that for many scripts
{ groups = [ "wheel" ]; noPass = false; keepEnv = true; persist = true; }
];
# try local AI stuff
services.ollama = {