diff options
author | Simon Garrelou <simon@sixfoisneuf.fr> | 2023-11-09 14:28:07 +0100 |
---|---|---|
committer | Simon Garrelou <simon@sixfoisneuf.fr> | 2023-11-09 14:28:07 +0100 |
commit | 6f2357da17dd40bb172d67cf16f019d553509852 (patch) | |
tree | db68a6a2e657e329405fed095297c84918b3f650 /README.md | |
parent | a4abeb3d5a79dd2d0daac651b7c6e2c3b2729ecd (diff) | |
download | nixpkgs-6f2357da17dd40bb172d67cf16f019d553509852.tar.gz nixpkgs-6f2357da17dd40bb172d67cf16f019d553509852.zip |
Update README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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 | ||
10 | Add this repository to your Nix channels: | 11 | Add 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 | |||
20 | Add 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 | ||