Skip to content

Commit

Permalink
add note for ad-hoc package installation
Browse files Browse the repository at this point in the history
  • Loading branch information
stigok committed Mar 27, 2020
1 parent 3022c19 commit 4bc97d9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions collections/_posts/2020-03-07-nix-and-nixos-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ $ nix-instantiate --arg config '{}' --arg pkgs '<nixpkgs>' --eval postgresql.nix

Reference: slack1256 #nixos @ Freenode

### Install a package for current user

```
$ nix-env -iA nixos.thunderbird
```

This will make the package available for the current logged in user only, *except*
when logged in as root, which will make it available for everyone.

Reference: https://nixos.org/nixos/manual/index.html#sec-ad-hoc-packages

## References

- <https://nixery.dev/nix-1p.html>

0 comments on commit 4bc97d9

Please sign in to comment.