aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-04-14 15:12:33 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-04-14 15:12:33 +0300
commit311326de3ad055d43e14f1aa31fbc0321db2d2b8 (patch)
tree43da53743ea3deb49ed77552920f7f427fd1148c /modules
parentba5f788bf84079c61830b42625c92efe234c507d (diff)
downloadnixsap-311326de3ad055d43e14f1aa31fbc0321db2d2b8.tar.gz
keyrings: updated description
Diffstat (limited to 'modules')
-rw-r--r--modules/deployment/keyrings.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/deployment/keyrings.nix b/modules/deployment/keyrings.nix
index 9325bf7..e70e004 100644
--- a/modules/deployment/keyrings.nix
+++ b/modules/deployment/keyrings.nix
@@ -3,7 +3,7 @@
let
inherit (builtins)
- attrNames baseNameOf head match pathExists readFile toString ;
+ attrNames baseNameOf head match pathExists readFile ;
inherit (lib)
filter foldl genAttrs hasPrefix mapAttrsToList mkOption
optionalAttrs unique ;
@@ -51,15 +51,15 @@ in {
description = ''
Binds keys to a user. It's possible to share the same key between
multiple users, of course by different names: "/run/keys/foo"
- and "/run/keys/foo[bar]" will use the same secret file "foo". Any
- file whose path does not start with <nixsap.deployment.keyStore> is
+ and "/run/keys/foo@bar" will use the same secret file "foo". Any
+ file whose path does not start with `nixsap.deployment.keyStore` is
deliberately ignored. E. i. you can pass any file names, and nixsap
will pick up keys for you. For convenience, it it allowed to pass
null values, which are filtered-out as well.
'';
default = {};
example = { mysqlbackup = [ "/run/keys/s3cmd.cfg" ];
- pgbackup = [ "/run/keys/s3cmd.cfg[pgbackup]" ];
+ pgbackup = [ "/run/keys/s3cmd.cfg@pgbackup" ];
};
};
};