update nix doc
This commit is contained in:
parent
a1d0b2bf02
commit
1198150d58
1 changed files with 9 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue