forked from clan/clan-core
secrets/sops: set dummy default sops file
This commit is contained in:
parent
890b674c46
commit
4e19b7c085
@ -63,5 +63,7 @@
|
||||
format = "binary";
|
||||
})
|
||||
secrets;
|
||||
# To get proper error messages about missing secrets we need a dummy secret file that is always present
|
||||
sops.defaultSopsFile = lib.mkIf config.sops.validateSopsFiles (lib.mkDefault (builtins.toString (pkgs.writeText "dummy.yaml" "")));
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user