Added how to use sudo to README
This commit is contained in:
@@ -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```
|
||||
|
||||
Reference in New Issue
Block a user