update nix doc

This commit is contained in:
Aaron Honeycutt 2026-01-16 20:07:52 -07:00
parent a1d0b2bf02
commit 1198150d58

View file

@ -6,14 +6,20 @@
nix-env -iA nixpkgs.<packagename>
```
# Nix Package Manager from Determinate Nix
## Add packages
If using flakes:
```bash
nix profile add nixpkgs#package-name
```
## Run a command
If using flakes:
```bash
nix shell nixpkgs#hello -c hello
```
# NixOS
## Updating a Flake based system