Skip to content

Commit 4b76e4b

Browse files
committed
README: clarify package installation
1 parent 900941d commit 4b76e4b

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,22 @@ See an overview of the flake outputs by running
1515
- [home](./home): [Home Manager](https://github.com/nix-community/home-manager)
1616
config
1717
- [lib](./lib): helper functions
18-
- [modules](./modules): NixOS modules
18+
- [modules](./modules): exported NixOS modules
1919
- [pkgs](./pkgs): package definitions
20-
- [system](./system): common NixOS configurations
20+
- [system](./system): NixOS configuration common between hosts
2121

2222
# 📦 Exported packages
2323

24-
Run packages directly with:
24+
This flake exports several packages. To get a list of available packages, run
2525

2626
```console
27-
nix run github:fufexan/dotfiles#packageName
27+
nix flake show github:fufexan/dotfiles
28+
```
29+
30+
Run packages directly with the below command, replacing `<packageName>` with the desired package:
31+
32+
```console
33+
nix run github:fufexan/dotfiles#<packageName>
2834
```
2935

3036
Or install from the `packages` output. For example:
@@ -41,7 +47,7 @@ Or install from the `packages` output. For example:
4147
# configuration.nix
4248
{pkgs, inputs, ...}: {
4349
environment.systemPackages = [
44-
inputs.fufexan-dotfiles.packages."x86_64-linux".packageName
50+
inputs.fufexan-dotfiles.packages."x86_64-linux".<packageName>
4551
];
4652
}
4753
```

0 commit comments

Comments
 (0)