summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/copy-secrets8
-rwxr-xr-xbin/nixos-build4
2 files changed, 6 insertions, 6 deletions
diff --git a/bin/copy-secrets b/bin/copy-secrets
index 27b41bdc4..74b9301a6 100755
--- a/bin/copy-secrets
+++ b/bin/copy-secrets
@@ -22,11 +22,11 @@ NIX_PATH=$NIX_PATH:nixos-config=$PWD/modules/$system_name
NIX_PATH=$NIX_PATH:secrets=$PWD/secrets/$system_name/nix
export NIX_PATH
-retiolum_secret=$(new-nixos-query tv.retiolum.privateKeyFile)
-retiolum_uid=$(new-nixos-query users.extraUsers.retiolum-tinc.uid)
+retiolum_secret=$(nixos-query tv.retiolum.privateKeyFile)
+retiolum_uid=$(nixos-query users.extraUsers.retiolum-tinc.uid)
-ejabberd_secret=$(new-nixos-query services.ejabberd-cd.certFile)
-ejabberd_uid=$(new-nixos-query users.extraUsers.ejabberd.uid)
+ejabberd_secret=$(nixos-query services.ejabberd-cd.certFile)
+ejabberd_uid=$(nixos-query users.extraUsers.ejabberd.uid)
(set -x
rsync \
diff --git a/bin/nixos-build b/bin/nixos-build
index 94f3dc1f4..200f99e4a 100755
--- a/bin/nixos-build
+++ b/bin/nixos-build
@@ -21,8 +21,8 @@ secrets_rsync=$secrets_root/$host/rsync
NIX_PATH=$NIX_PATH:secrets=$secrets_nix
export NIX_PATH
- rev=$(new-nixos-query nixpkgs.rev)
- url=$(new-nixos-query nixpkgs.url)
+ rev=$(nixos-query nixpkgs.rev)
+ url=$(nixos-query nixpkgs.url)
fetchgit "$rev" "$url" tmp/nixpkgs/$host
)