Compare commits
No commits in common. "04ab06218ced69d2ac01983377066ad5b35da6e5" and "2cdf09c5aeff0c0bb5adb3435cce55fe7d9c03eb" have entirely different histories.
04ab06218c
...
2cdf09c5ae
@ -134,8 +134,6 @@
|
|||||||
uptimestatus;
|
uptimestatus;
|
||||||
});
|
});
|
||||||
|
|
||||||
inherit lib self;
|
|
||||||
|
|
||||||
hydraJobs = {
|
hydraJobs = {
|
||||||
inherit (self)
|
inherit (self)
|
||||||
packages;
|
packages;
|
||||||
|
@ -141,17 +141,5 @@
|
|||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
clerie.system-auto-upgrade = {
|
|
||||||
allowReboot = true;
|
|
||||||
autoUpgrade = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
clerie.monitoring = {
|
|
||||||
enable = true;
|
|
||||||
id = "399";
|
|
||||||
pubkey = "K7NkCFKSnMIgC0D5wejSpty56AYacfxE+feMsfWtHSo=";
|
|
||||||
bird = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
system.stateVersion = "21.03";
|
system.stateVersion = "21.03";
|
||||||
}
|
}
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
age-encryption.org/v1
|
|
||||||
-> ssh-ed25519 HwR33w 8zOolyGJvZ/2INs4yS7pFci+ktyEjOsGaff7+5HkEh4
|
|
||||||
HWXI2uYLIfutJ9PrJbwuH02GLNF/bJLVAd1prLbSk6o
|
|
||||||
-> ssh-ed25519 RyOjvA Fp4D7amm2EPSp5VyN7N99S10U3p1ITe+nhY+UVs64W8
|
|
||||||
xWfbN92OvHDrAvwYtnJfcwKuGtN68fN82/otWYbDiFs
|
|
||||||
-> '&&2PA(-grease O @2r[ u
|
|
||||||
5pJJ/ZfFB46scMhGo7wQY4r5gH2UZxZvt6sCOlyJ4uy+VVj8FZAShrBo
|
|
||||||
--- NncgnJg/91wjSyXj21jb0SkMuSsN3MciRpeI2pmKjco
|
|
||||||
ý€œ¤1¡UÂ’/HwwŸ¾ÇòÏÏÐ@<40>QþSþX<C3BE>tŸo[Z†c<E280A0>šq\ÿòbWǤՅER¨Š«é .Eð‘5»F4„IC<49>½3èÈΘ÷º
|
|
@ -40,18 +40,6 @@
|
|||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
|
|
||||||
clerie.system-auto-upgrade = {
|
|
||||||
allowReboot = true;
|
|
||||||
autoUpgrade = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
clerie.monitoring = {
|
|
||||||
enable = true;
|
|
||||||
id = "391";
|
|
||||||
pubkey = "Rfu2JLxAk0seAZgt43sOEAF69Z9uQaOjeNgM4jJF0h4=";
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
system.stateVersion = "23.05";
|
system.stateVersion = "23.05";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
age-encryption.org/v1
|
|
||||||
-> ssh-ed25519 HwR33w JKCBhuwIMcH042SNcp+OQjgvpMogmXH9who0wy9Jh2g
|
|
||||||
waaOvyKbg8AVEQ8BnLONus0y237GK8do0nOWovYv/Hg
|
|
||||||
-> ssh-ed25519 7zj2eQ cMRXtuy4Jsl4X/qstN3wxztrEfCh+lz48+jn9cEO614
|
|
||||||
/LcwitDqSk7yEFqUeJvpWo+6lqTI8UjuBi03JxRTx/A
|
|
||||||
-> .-grease sMU_}
|
|
||||||
NOvvGJmEfeBYR6Q
|
|
||||||
--- ju0+LEUzdv2AW1Zaf1/YBo5+5ZKc+XhYUOt/p/NqYWU
|
|
||||||
Ä"'‘oč©®9@1źF&Ż'VÇ︪whĆ$3kj›®<E280BA>v¦őę&ŰOŔ$}śN€W–p[ôČeÚM
˙eĉĚCďE‹@ÖĚü’ÚSc1
|
|
@ -1,13 +0,0 @@
|
|||||||
inputs:
|
|
||||||
|
|
||||||
with inputs.nixpkgs.lib;
|
|
||||||
|
|
||||||
rec {
|
|
||||||
monitoringIdForHost = host: let
|
|
||||||
evalResult = builtins.tryEval (attrByPath [ "clerie" "monitoring" "id" ] null host.config);
|
|
||||||
in
|
|
||||||
if evalResult.success then evalResult.value else null;
|
|
||||||
monitoringIdsByHost = hosts: filterAttrs (name: id: id != null) (mapAttrs (name: host: monitoringIdForHost host) hosts);
|
|
||||||
hostsByMonitoringIds = hosts: mapAttrs' (name: id: nameValuePair id name) (monitoringIdsByHost hosts);
|
|
||||||
monitoringIds = hosts: attrNames (hostsByMonitoringIds hosts);
|
|
||||||
}
|
|
@ -14,7 +14,6 @@ let
|
|||||||
generateColmenaHost
|
generateColmenaHost
|
||||||
mapToColmenaHosts
|
mapToColmenaHosts
|
||||||
buildHosts;
|
buildHosts;
|
||||||
clerie-monitoring-ids = callLibs ./clerie-monitoring-ids.nix;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
|
Loading…
Reference in New Issue
Block a user