dotfiles/common/sops.nix
2024-05-27 22:37:25 -04:00

11 lines
258 B
Nix

{ config }:
{
age.keyFile = "/home${config.home.username}/.config/sops/age/keys.txt";
defaultSopsFile = ../../secrets.yaml;
secrets.hosts = {
format = "binary";
sopsFile = ../../secrets/hosts;
owner = "${config.home.username}"
};
}