keep the environment, need that for many scripts
This commit is contained in:
parent
a9a8902858
commit
eeb197bdd8
1 changed files with 5 additions and 0 deletions
|
@ -547,6 +547,11 @@ in
|
||||||
# use doas instead of sudo
|
# use doas instead of sudo
|
||||||
security.sudo.enable = false;
|
security.sudo.enable = false;
|
||||||
security.doas.enable = true;
|
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
|
# try local AI stuff
|
||||||
services.ollama = {
|
services.ollama = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue