nixos-infra/modules/sops.nix
Rustam Efimov 30ce0dafc2
Some checks failed
Nix CI / build (push) Failing after 31s
initial commit
2026-04-01 08:50:01 +03:00

19 lines
271 B
Nix

{
pkgs,
config,
...
}:
{
_module.args = {
sec = config.sops.secrets;
};
environment.systemPackages = with pkgs; [
sops
];
sops = {
defaultSopsFile = ./../secrets/common.yaml;
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
};
}