... and it's not called "new-"nixos-build^_^
This commit is contained in:
parent
aaa777168e
commit
42a0fd4e65
@ -22,11 +22,11 @@ NIX_PATH=$NIX_PATH:nixos-config=$PWD/modules/$system_name
|
|||||||
NIX_PATH=$NIX_PATH:secrets=$PWD/secrets/$system_name/nix
|
NIX_PATH=$NIX_PATH:secrets=$PWD/secrets/$system_name/nix
|
||||||
export NIX_PATH
|
export NIX_PATH
|
||||||
|
|
||||||
retiolum_secret=$(new-nixos-query tv.retiolum.privateKeyFile)
|
retiolum_secret=$(nixos-query tv.retiolum.privateKeyFile)
|
||||||
retiolum_uid=$(new-nixos-query users.extraUsers.retiolum-tinc.uid)
|
retiolum_uid=$(nixos-query users.extraUsers.retiolum-tinc.uid)
|
||||||
|
|
||||||
ejabberd_secret=$(new-nixos-query services.ejabberd-cd.certFile)
|
ejabberd_secret=$(nixos-query services.ejabberd-cd.certFile)
|
||||||
ejabberd_uid=$(new-nixos-query users.extraUsers.ejabberd.uid)
|
ejabberd_uid=$(nixos-query users.extraUsers.ejabberd.uid)
|
||||||
|
|
||||||
(set -x
|
(set -x
|
||||||
rsync \
|
rsync \
|
||||||
|
@ -21,8 +21,8 @@ secrets_rsync=$secrets_root/$host/rsync
|
|||||||
NIX_PATH=$NIX_PATH:secrets=$secrets_nix
|
NIX_PATH=$NIX_PATH:secrets=$secrets_nix
|
||||||
export NIX_PATH
|
export NIX_PATH
|
||||||
|
|
||||||
rev=$(new-nixos-query nixpkgs.rev)
|
rev=$(nixos-query nixpkgs.rev)
|
||||||
url=$(new-nixos-query nixpkgs.url)
|
url=$(nixos-query nixpkgs.url)
|
||||||
|
|
||||||
fetchgit "$rev" "$url" tmp/nixpkgs/$host
|
fetchgit "$rev" "$url" tmp/nixpkgs/$host
|
||||||
)
|
)
|
||||||
|
@ -14,8 +14,8 @@ systemname=$2
|
|||||||
NIX_PATH=$NIX_PATH:secrets=$PWD/secrets/$systemname/nix
|
NIX_PATH=$NIX_PATH:secrets=$PWD/secrets/$systemname/nix
|
||||||
export NIX_PATH
|
export NIX_PATH
|
||||||
|
|
||||||
rev=$(new-nixos-query nixpkgs.rev)
|
rev=$(nixos-query nixpkgs.rev)
|
||||||
url=$(new-nixos-query nixpkgs.url)
|
url=$(nixos-query nixpkgs.url)
|
||||||
|
|
||||||
fetchgit "$rev" "$url" tmp/nixpkgs/$systemname
|
fetchgit "$rev" "$url" tmp/nixpkgs/$systemname
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user