nix-config/modules/nixos/sops.nix
2026-08-04 09:49:27 +02:00

13 lines
277 B
Nix

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