mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-03-16 05:28:15 +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:
parent
e31339a204
commit
6ef5c647a4
1 changed files with 0 additions and 25 deletions
25
README.md
25
README.md
|
@ -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`
|
#### `fetchTarball`
|
||||||
|
|
||||||
Add the following to your `configuration.nix`:
|
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
|
```nix
|
||||||
{
|
{
|
||||||
imports = let
|
imports = let
|
||||||
|
|
Loading…
Add table
Reference in a new issue