aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-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