parent
c4a0f63369
commit
fdb6de025b
1 changed files with 3 additions and 3 deletions
|
@ -13,13 +13,13 @@
|
||||||
];
|
];
|
||||||
glucose.modules = [
|
glucose.modules = [
|
||||||
({
|
({
|
||||||
lib,
|
nixpkgs,
|
||||||
molecules,
|
molecules,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
ip = i: "10.24.1.${toString i}";
|
ip = i: "10.24.1.${toString i}";
|
||||||
ips = builtins.mapAttrs (lib.const ip) molecules;
|
ips = builtins.mapAttrs (nixpkgs.lib.const ip) molecules;
|
||||||
ips' = builtins.mapAttrs (name: ip: "${ip}:6703") ips;
|
ips' = builtins.mapAttrs (ip: "${ip}:6703") ips;
|
||||||
in {
|
in {
|
||||||
services.prometheus = {
|
services.prometheus = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue