dotfiles/home/secrets/sops.nix

17 lines
549 B
Nix
Raw Normal View History

2023-02-18 21:33:19 +01:00
{
config,
pkgs,
...
}: {
2023-02-07 03:55:12 +01:00
sops = {
gnupg.home = config.programs.gpg.homedir;
2023-02-19 00:18:25 +01:00
defaultSopsFile = ./main.yaml;
2023-02-18 21:33:19 +01:00
secrets = {
"konf-ctp".path = "${config.home.homeDirectory}/.kube/konfs/store/ctp_ctp.yaml";
"konf-fra1".path = "${config.home.homeDirectory}/.kube/konfs/store/fra1_fra1.yaml";
"konf-work-prod".path = "${config.home.homeDirectory}/.kube/konfs/store/work-prod_work-prod.yaml";
"konf-work-staging".path = "${config.home.homeDirectory}/.kube/konfs/store/work-staging_work-staging.yaml";
2023-02-07 03:55:12 +01:00
};
};
}