2 ms·
> * Things like fzf have bash completion accompanying files. I have not figured out where these reside using nix. In general, ~/.nix-profile/share/bash-complet
by Nullabillity 5y ago
> * Things like fzf have bash completion accompanying files. I have not figured out where these reside using nix.
In general, ~/.nix-profile/share/bash-completion/completions/, although fzf in particular seems to have its in ~/.nix-profile/share/fzf/completion.bash. To be honest, I'm not really sure about why.
In general, ~/.nix-profile is more or less the Nix equivalent to /usr.
> * Things like mysql make heave use of directories such as /usr/local/var/mysql or similar. I was unsuccessful in surpassing permission problems with these.
If you're not running the services as system-level services, override their state directories. In the case of MariaDB that'd mean something like `mysqld --datadir=~/var/mysql`.