forked from mirrors_public/oddlama_nix-config
feat(wireguard): generate psks only if needed; add most of the qr code generator
This commit is contained in:
parent
925d3856e0
commit
d5f2880457
13 changed files with 225 additions and 108 deletions
|
@ -28,5 +28,5 @@ in {
|
|||
rageImportEncrypted = identities: nixFile:
|
||||
assert assertMsg (builtins.isPath nixFile) "The file to decrypt must be given as a path to prevent impurity.";
|
||||
assert assertMsg (hasSuffix ".nix.age" nixFile) "The content of the decrypted file must be a nix expression and should therefore end in .nix.age";
|
||||
exec ([./rage-decrypt.sh nixFile] ++ identities);
|
||||
exec ([./rage-decrypt-and-cache.sh nixFile] ++ identities);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue