mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-12-26 22:24:59 +08:00
fix home-manager module
This commit is contained in:
parent
7eb645636c
commit
1f8e8fcf3f
2 changed files with 29 additions and 46 deletions
|
|
@ -24,7 +24,7 @@ let
|
|||
) [ ] (builtins.attrValues secrets);
|
||||
|
||||
in
|
||||
if failedAssertions != [ ] then
|
||||
if cfg.validateSopsFiles && failedAssertions != [ ] then
|
||||
throw "\nFailed assertions:\n${lib.concatStringsSep "\n" (map (x: "- ${x}") failedAssertions)}"
|
||||
else
|
||||
writeTextFile {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue