fixup
This commit is contained in:
parent
280edb17f7
commit
cc5c19071b
3 changed files with 5 additions and 16 deletions
|
@ -7,7 +7,7 @@
|
|||
}:
|
||||
let
|
||||
inherit (config.lib) ports;
|
||||
targets = lib.mapAttrsToList (_name: node: node.fqdn) nodes;
|
||||
targets = lib.mapAttrsToList (_name: node: node.fqdn) nodes ++ [ "pek0.ny4.dev" ];
|
||||
in
|
||||
{
|
||||
services.prometheus = {
|
||||
|
@ -36,12 +36,7 @@ in
|
|||
username = "prometheus";
|
||||
password_file = config.sops.secrets."prometheus/auth".path;
|
||||
};
|
||||
static_configs = lib.singleton {
|
||||
targets = [
|
||||
"pek0.ny4.dev"
|
||||
"tyo0.ny4.dev"
|
||||
] ++ targets;
|
||||
};
|
||||
static_configs = lib.singleton { inherit targets; };
|
||||
}
|
||||
{
|
||||
job_name = "caddy";
|
||||
|
@ -50,12 +45,7 @@ in
|
|||
username = "prometheus";
|
||||
password_file = config.sops.secrets."prometheus/auth".path;
|
||||
};
|
||||
static_configs = lib.singleton {
|
||||
targets = [
|
||||
"tyo0.ny4.dev"
|
||||
"pek0.ny4.dev"
|
||||
] ++ targets;
|
||||
};
|
||||
static_configs = lib.singleton { inherit targets; };
|
||||
}
|
||||
{
|
||||
job_name = "blackbox_exporter";
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
[
|
||||
../../nixos/profiles/restic
|
||||
../../nixos/profiles/sing-box
|
||||
../../nixos/profiles/wireless
|
||||
|
||||
./anti-feature.nix
|
||||
./disko.nix
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, ... }:
|
||||
{ lib, config, ... }:
|
||||
{
|
||||
sops.secrets = builtins.mapAttrs (_n: v: v // { sopsFile = ./secrets.yaml; }) {
|
||||
sops.secrets = lib.mapAttrs (_n: v: v // { sopsFile = ./secrets.yaml; }) {
|
||||
"restic/environment" = { };
|
||||
"restic/password" = { };
|
||||
"restic/repository" = { };
|
||||
|
|
Loading…
Reference in a new issue