diff options
author | lassulus <lassulus@lassul.us> | 2018-05-16 17:32:29 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-05-16 17:54:12 +0200 |
commit | dca292c905b09eff69e0219472c7846a55a0bb72 (patch) | |
tree | 9cc59490fe681d2ce9069de0334d7aa346f2b497 /lass | |
parent | 2e7bcebfd07080db071f07c3ad8e42e136857c31 (diff) |
l l-gen-secrets: fix secret paths
Diffstat (limited to 'lass')
-rw-r--r-- | lass/5pkgs/l-gen-secrets/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lass/5pkgs/l-gen-secrets/default.nix b/lass/5pkgs/l-gen-secrets/default.nix index 4b25fbd4c..b6cb2ec7e 100644 --- a/lass/5pkgs/l-gen-secrets/default.nix +++ b/lass/5pkgs/l-gen-secrets/default.nix @@ -17,9 +17,9 @@ pkgs.writeDashBin "l-gen-secrets" '' cd $TMPDIR for x in *; do - ${pkgs.coreutils}/bin/cat $x | ${pkgs.pass}/bin/pass insert -m krebs-secrets/$HOSTNAME/$x > /dev/null + ${pkgs.coreutils}/bin/cat $x | ${pkgs.pass}/bin/pass insert -m hosts/$HOSTNAME/$x > /dev/null done - echo $PASSWORD | ${pkgs.pass}/bin/pass insert -m hosts/$HOSTNAME/pass > /dev/null + echo $PASSWORD | ${pkgs.pass}/bin/pass insert -m admin/$HOSTNAME/pass > /dev/null cat <<EOF $HOSTNAME = { |