dotfiles/common/sops.nix

11 lines
282 B
Nix
Raw Normal View History

2024-05-27 22:37:25 -04:00
{ config }:
{
age.keyFile = "/home/${config.home.username}/.config/sops/age/keys.txt";
defaultSopsFile = ../secrets.yaml;
2024-05-27 22:37:25 -04:00
secrets.hosts = {
format = "binary";
sopsFile = ../secrets/hosts;
path = "/home/${config.home.username}/.config/gh/hosts.yml";
2024-05-27 22:37:25 -04:00
};
}