nixos-build: make <pubkeys> available
This commit is contained in:
parent
f8b1e849a6
commit
390e1f6650
@ -8,6 +8,7 @@ host=$1
|
|||||||
|
|
||||||
#target=root@$host
|
#target=root@$host
|
||||||
|
|
||||||
|
pubkeys=$config_root/pubkeys
|
||||||
nixpkgs=$nixpkgs_root/$host
|
nixpkgs=$nixpkgs_root/$host
|
||||||
nixos_config=$config_root/modules/$host
|
nixos_config=$config_root/modules/$host
|
||||||
secrets_nix=$secrets_root/$host/nix
|
secrets_nix=$secrets_root/$host/nix
|
||||||
@ -17,6 +18,7 @@ nixos-fetch-git "$host"
|
|||||||
|
|
||||||
nix-build \
|
nix-build \
|
||||||
-I "$nixpkgs" \
|
-I "$nixpkgs" \
|
||||||
|
-I pubkeys="$pubkeys" \
|
||||||
-I nixos-config="$nixos_config" \
|
-I nixos-config="$nixos_config" \
|
||||||
-I retiolum-hosts="$retiolum_hosts" \
|
-I retiolum-hosts="$retiolum_hosts" \
|
||||||
-I secrets="$secrets_nix" \
|
-I secrets="$secrets_nix" \
|
||||||
|
Loading…
Reference in New Issue
Block a user