File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ $ step-agent version
9191## Setup for NixOS with npins
9292
9393If you do not want to use flakes but still want to pin your dependencies you can use a tool like ` npins ` , ` niv ` , ...
94- This guide assumes that you have advanced knowledge of nix and you know how to rebuild your host.
94+ This guide assumes that you have advanced knowledge of nix, you know how to rebuild your host and have npins already initialized .
9595We will use ` npins ` in this example.
9696
97971 . Add this repository as an input
@@ -106,12 +106,12 @@ npins add github smallstep nur -b main --name smallstep
106106
107107``` nix
108108{
109- sources, # or `sources ? (import ./npins)`
110- pkgs, # or pkgs ? sources.nixpkgs,
109+ sources ? (import ./npins),
110+ pkgs ? (import sources.nixpkgs {}) ,
111111 ...
112112}:
113113let
114- smallstep = import sources.nur { inherit pkgs; }; # if you pass pkgs, `step-agent` will use your nixpkgs instead of the locked one (advised)
114+ smallstep = import sources.smallstep { inherit pkgs; }; # if you pass pkgs, `step-agent` will use your nixpkgs instead of the locked one (advised)
115115in
116116{
117117 environment.systemPackages = [
You can’t perform that action at this time.
0 commit comments