nix-infra/modules/nixos/sops.nix
2026-10-03 01:56:30 +02:00

13 lines
277 B
Nix

{ inputs, pkgs, ... }:
{
imports = [ inputs.sops-nix.nixosModules.sops ];
sops = {
defaultSopsFile = ../../secrets/default.yaml;
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
secrets = { };
};
environment.systemPackages = with pkgs; [ sops ];
}