secrets: add sops

This commit is contained in:
Leonardo Eugênio 2025-03-05 14:53:07 -03:00
parent 9fd65b02ba
commit 553ea251fa
9 changed files with 176 additions and 2 deletions

12
system/sops.nix Normal file
View file

@ -0,0 +1,12 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
sops-master
gnupg
];
sops = {
defaultSopsFile = ../secrets/test.yaml;
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
};
}