Added how to use sudo to README

This commit is contained in:
2025-02-19 21:44:21 -08:00
parent 6d159b312c
commit c1faaf1764

View File

@@ -18,3 +18,10 @@ bash update.sh
or just use the alias:
```rebuild```
## Allowing Sudo to run commands
Edit the sudoers file in /etc, (must be root user or have sudo permissions to edit)
append the following to secure_path:
```:/home/yourusername/.nix-profile/bin:/nix/var/nix/profiles/default/bin```