This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-06-03 16:59:11 +02:00
parent 52343cbc23
commit fce5f49e57
29 changed files with 373 additions and 554 deletions

View File

@@ -1,8 +1,25 @@
{ pkgs, ... }:
{ 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 = {};
};
}