web02: move secrets to sops
This commit is contained in:
parent
bcdbe40580
commit
632d80837c
8 changed files with 76 additions and 38 deletions
modules/nixos/monitoring
|
@ -1,7 +1,6 @@
|
|||
{ config, inputs, ... }:
|
||||
{ config, ... }:
|
||||
{
|
||||
age.secrets.oauth2-proxy-key-file = {
|
||||
file = "${inputs.self}/secrets/oauth2-proxy-key-file.age";
|
||||
sops.secrets.oauth2-proxy-key-file = {
|
||||
owner = "oauth2-proxy";
|
||||
};
|
||||
|
||||
|
@ -14,7 +13,7 @@
|
|||
team = "admin";
|
||||
};
|
||||
clientID = "Ov23liKOQPREko8sCk6F";
|
||||
keyFile = config.age.secrets.oauth2-proxy-key-file.path;
|
||||
keyFile = config.sops.secrets.oauth2-proxy-key-file.path;
|
||||
nginx.domain = "alertmanager.nix-community.org";
|
||||
nginx.virtualHosts = {
|
||||
"alertmanager.nix-community.org" = { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue