new way of decrypting secrets

This commit is contained in:
Christoph Hollizeck 2024-11-12 15:33:25 +01:00
parent 504b132fa6
commit f75ea57407
Signed by: Daholli
GPG key ID: 1763BB530F50279E
8 changed files with 56 additions and 38 deletions

View file

@ -19,13 +19,15 @@ in
environment.systemPackages = with pkgs; [
sops
age
ssh-to-age
];
sops = {
defaultSopsFile = lib.snowfall.fs.get-file "secrets/secrets.yaml";
defaultSopsFormat = "yaml";
age.keyFile = "/home/cholli/.config/sops/age/keys.txt";
# age.keyFile = "/home/cholli/.config/sops/age/keys.txt";
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
};
};
}