nixos-config/docs/website/content/en/03-project-specific-setup/03-secrets-management/assets/get-secrets.nix
Gabriel Arazas c2da083e5f
docs: restructure folder
Similar to wrapper-manager subproject, we're just preparing to make this
multi-output for our project's documentation.
2024-09-04 19:13:39 +08:00

14 lines
297 B
Nix

{ config, lib, pkgs, ... }:
{
sops.secrets = lib.getSecrets ./sops.yaml {
ssh-key = { };
"borg/ssh-key" = { };
"wireguard/private-key" = {
group = config.users.users.systemd-network.group;
reloadUnits = [ "systemd-networkd.service" ];
mode = "0640";
};
};
}