This commit is contained in:
soraefir
2026-05-03 02:23:16 +02:00
parent 9377d1ce45
commit 4c2f368da3
2 changed files with 7 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
{ config, pkgs, ... }: {
sops.secrets.INFOMANIAK_API_KEY = { sopsFile = ./server.yaml; };
sops.secrets."${config.syscfg.hostname}_wg_priv" = { };
config = lib.mkIf (config.syscfg.server.sops) {
sops.secrets.INFOMANIAK_API_KEY = { sopsFile = ./server.yaml; };
};
}