all: add prometheus

This commit is contained in:
xinyangli 2023-12-20 11:13:20 +08:00
parent fcdc65d8ce
commit b9eebc2a7e
8 changed files with 116 additions and 31 deletions

View file

@ -11,6 +11,15 @@ in
domain = "vaultwarden.xinyang.life";
};
custom.prometheus = {
enable = true;
exporters.enable = true;
grafana = {
enable = true;
password_file = config.sops.secrets.grafana_cloud_api.path;
};
};
fileSystems = builtins.listToAttrs (map (share: {
name = "/mnt/storage/${share}";
value = {