update target name in .sops.yaml

This commit is contained in:
Julien Malka 2024-02-17 17:26:38 +01:00
parent e3b2f15a68
commit d92b3a27b3
No known key found for this signature in database
GPG Key ID: 6FC74C847011FD83
4 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ keys:
- &julienmalka age109qksyjgdnf7elnk98dh4vtxt0epju7xjemlqng0j0x75st5zg9qm9h3hy
creation_rules:
- path_regex: targets/nixos-wiki2\.thalheim\.io/secrets\.yaml$
- path_regex: targets/nixos-wiki\.nixos\.org/secrets/*
key_groups:
- age:
- *joerg

View File

@ -25,6 +25,6 @@ in
noReplyAddress = "nixos-wiki-no-reply@thalheim.io";
};
sops.defaultSopsFile = ./secrets.yaml;
sops.defaultSopsFile = ./secrets/secrets.yaml;
boot.loader.grub.devices = lib.mkForce [ "/dev/sda" ];
}

View File

@ -14,7 +14,7 @@ module "wiki" {
domain = "nixos-wiki2.thalheim.io"
nixos_flake_attr = "nixos-wiki-nixos-org"
nixos_vars_file = "${path.module}/nixos-vars.json"
sops_file = abspath("${path.module}/secrets.yaml")
sops_file = abspath("${path.module}/secrets/secrets.yaml")
tags = {
Terraform = "true"
Target = "wiki.nixos.org"