CrOS/hosts/common/core/sops.nix
TheWanderingCrow 2091fb1fdc work
2025-05-25 21:12:43 -04:00

17 lines
313 B
Nix

{
pkgs,
lib,
inputs,
config,
...
}: let
sopsFolder = builtins.toString inputs.nix-secrets + "/sops";
in {
sops = {
defaultSopsFile = "${sopsFolder}/${config.hostSpec.hostName}.yaml";
validateSopsFiles = false;
age = {
sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
};
};
}