chore: update flake & niri blur
This commit is contained in:
parent
601dfb9217
commit
98b4f598f8
36 changed files with 516 additions and 317 deletions
|
|
@ -13,7 +13,7 @@ in
|
|||
enable = true;
|
||||
openFirewall = true;
|
||||
listenPort = 8044;
|
||||
environmentFile = config.sops.secrets."homepage".path;
|
||||
environmentFiles = [ config.sops.secrets."homepage".path ];
|
||||
allowedHosts = "www.${domain},${domain},localhost:${toString cfg.listenPort}";
|
||||
docker = {
|
||||
docker = {
|
||||
|
|
@ -64,6 +64,17 @@ in
|
|||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
"Development" = [
|
||||
{
|
||||
"Forgejo" = {
|
||||
icon = "forgejo.svg";
|
||||
description = "Git repository";
|
||||
href = config.services.forgejo.settings.server.ROOT_URL;
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
"VPN & IDP" = [
|
||||
{
|
||||
|
|
@ -121,6 +132,31 @@ in
|
|||
icon = "powerdns.svg";
|
||||
description = "DNS record management";
|
||||
href = "https://powerdns.${domain}";
|
||||
widgets =
|
||||
let
|
||||
queryProp = ''job="powerdns_recursor"'';
|
||||
in
|
||||
[
|
||||
{
|
||||
type = "prometheusmetric";
|
||||
url = "https://metrics.dnywe.com";
|
||||
refreshInterval = 10000;
|
||||
metrics = [
|
||||
{
|
||||
label = "Up";
|
||||
query = "up{${queryProp}}";
|
||||
}
|
||||
{
|
||||
label = "Query Rate";
|
||||
query = "sum(rate(pdns_recursor_questions{${queryProp}}[1h]))";
|
||||
format = {
|
||||
type = "number";
|
||||
suffix = " req/s";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue