Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add nyx.json #419

Merged
merged 1 commit into from
Jul 1, 2024
Merged

add nyx.json #419

merged 1 commit into from
Jul 1, 2024

Conversation

heather7283
Copy link
Contributor

First, create a $XDG_CONFIG_HOME/nyxrc file with the following content:

data_directory ~/.cache/nyx

Note that you can't use variable substitution inside nyxrc, so you will have to hardcode your XDG_CACHE_HOME.
Alternatively, disable caching to disk:

data_directory disabled

Finally, in your shell startup file:

alias nyx="nyx --config $XDG_CONFIG_HOME/nyxrc"

Source: https://nyx.torproject.org/#configuration

@b3nj5m1n
Copy link
Owner

b3nj5m1n commented Jul 1, 2024

Thank you!

@b3nj5m1n b3nj5m1n merged commit ce2b798 into b3nj5m1n:main Jul 1, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants