Files
dotfiles/system-modules/sops.nix
Lennart J. Kurzweg (Nx2) fce5f49e57 Sops-Nix
2024-06-03 16:59:11 +02:00

26 lines
662 B
Nix

{ pkgs, user, ... }:
{
environment.systemPackages = with pkgs; [
age
ssh-to-age
sops
];
sops = {
defaultSopsFile = ../sops-secrets.yaml;
defaultSopsFormat = "yaml";
# age = {
# # keyFile = "/home/${user}/.config/sops/age/keys.txt";
# # keyFile = "/var/lib/sops-nix/key.txt";
# # keyFile = "/home/${user}/.config/sops/age/age-public-key-from-ssh-A-subkey.txt";
# sshKeyPaths = [ ];
# # sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
# # generateKey = true;
# };
# gnupg = {
# sshKeyPaths = [];
# home = "/home/${user}/.gnupg";
# };
secrets.example = {};
};
}