1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-14 11:57:52 +00:00

drop docs unpinned ways of installing sops-nix

Less clutter and people are more likely to install dependencies in a
more maintainable way.
This commit is contained in:
Jörg Thalheim 2024-04-19 12:10:48 +02:00 committed by mergify[bot]
parent e31339a204
commit 6ef5c647a4

View file

@ -93,35 +93,10 @@ $ niv add Mic92/sops-nix
}
```
#### `nix-channel`
As root run:
```console
$ nix-channel --add https://github.com/Mic92/sops-nix/archive/master.tar.gz sops-nix
$ nix-channel --update
```
Then add the following to your `configuration.nix` in the `imports` list:
```nix
{
imports = [ <sops-nix/modules/sops> ];
}
```
#### `fetchTarball`
Add the following to your `configuration.nix`:
``` nix
{
imports = [ "${builtins.fetchTarball "https://github.com/Mic92/sops-nix/archive/master.tar.gz"}/modules/sops" ];
}
```
or with pinning:
```nix
{
imports = let