Notes

After system upgrades, things may be broken. Check the following:

If this is encountered:

error: opening lock file '/nix/var/nix/profiles/per-user/soasme/profile.lock': Permission denied

Remove ~/.nix-profile.