mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
fix: cache nix-import-encrypted only on dev machines
This commit is contained in:
parent
ae0dcc3401
commit
b40505f93c
2 changed files with 5 additions and 2 deletions
|
@ -23,7 +23,7 @@ new_name="$(sha512sum "$file")"
|
|||
new_name="${new_name:0:32}-${basename//"/"/"%"}"
|
||||
|
||||
# Derive the path where the decrypted file will be stored
|
||||
out="/var/tmp/nix-import-encrypted.$UID/$new_name"
|
||||
out="/var/tmp/nix-import-encrypted/$UID/$new_name"
|
||||
umask 077
|
||||
mkdir -p "$(dirname "$out")"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue