nix-config/configs/nixos/secrets.nix

18 lines
277 B
Nix
Raw Normal View History

2024-06-03 23:38:29 +02:00
{
inputs,
config,
lib,
pkgs,
...
}: let
secretsDirectory = builtins.toString inputs.nix-secrets;
in {
imports = [
inputs.sops-nix.nixosModules.sops
];
sops = {
defaultSopsFile = "${secretsDirectory}/common.yaml";
validateSopsFiles = false;
};
}