mirror of https://github.com/ryantm/agenix.git
Compare commits
4 Commits
a9e17889d3
...
c12b308fef
Author | SHA1 | Date |
---|---|---|
nicoo | c12b308fef | |
Ryan Mulligan | 24a7ea3905 | |
Ellis Gibbons | 2c1d1fb134 | |
nicoo | e5d4435cf1 |
|
@ -211,6 +211,7 @@ in {
|
|||
systemd.user.services.agenix = lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
|
||||
Unit = {
|
||||
Description = "agenix activation";
|
||||
After = "basic.target" # “basic boot-up,” includes impermanence's bind mounts
|
||||
};
|
||||
Service = {
|
||||
Type = "oneshot";
|
||||
|
|
|
@ -171,7 +171,9 @@ function edit {
|
|||
ENCRYPT=()
|
||||
while IFS= read -r key
|
||||
do
|
||||
ENCRYPT+=(--recipient "$key")
|
||||
if [ -n "$key" ]; then
|
||||
ENCRYPT+=(--recipient "$key")
|
||||
fi
|
||||
done <<< "$KEYS"
|
||||
|
||||
REENCRYPTED_DIR=$(@mktempBin@ -d)
|
||||
|
|
Loading…
Reference in New Issue