aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Garrelou <simon@sixfoisneuf.fr>2023-11-09 14:28:07 +0100
committerSimon Garrelou <simon@sixfoisneuf.fr>2023-11-09 14:28:07 +0100
commit6f2357da17dd40bb172d67cf16f019d553509852 (patch)
treedb68a6a2e657e329405fed095297c84918b3f650
parenta4abeb3d5a79dd2d0daac651b7c6e2c3b2729ecd (diff)
downloadnixpkgs-6f2357da17dd40bb172d67cf16f019d553509852.tar.gz
nixpkgs-6f2357da17dd40bb172d67cf16f019d553509852.zip
Update README
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index b6053d2..b61a316 100644
--- a/README.md
+++ b/README.md
@@ -7,9 +7,26 @@ Some of them are already in PR form, some are still being worked on.
7 7
8## Usage 8## Usage
9 9
10### As a Nix channel
10Add this repository to your Nix channels: 11Add this repository to your Nix channels:
11 12
12``` 13```
13$ nix-channel --add https://git.sixfoisneuf.fr/nixpkgs/snapshot/nixpkgs-master.tar.gz sixfoisneuf 14$ nix-channel --add https://git.sixfoisneuf.fr/nixpkgs/snapshot/nixpkgs-master.tar.gz sixfoisneuf
14$ nix-channel --update 15$ nix-channel --update
15``` 16```
17
18### As a nixpkgs overlay
19
20Add this to your `configuration.nix`:
21
22```nix
23{
24 nixpkgs.overlays = [
25 (import "${fetchTarball "https://git.sixfoisneuf.fr/nixpkgs/snapshot/nixpkgs-master.tar.gz"}/overlay.nix")
26 ];
27
28 environment.systemPackages = with pkgs; [
29 passwdqc
30 ]
31}
32``` \ No newline at end of file