1
0

hosts/dn42-ildix-service: add lookingglass

This commit is contained in:
2023-05-04 14:35:30 +02:00
parent e9de141316
commit 4834e5b91d
6 changed files with 95 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
{ self, nixpkgs, agenix, nixos-exporter, solid-xmpp-alarm, ... }@inputs:
{ self, nixpkgs, agenix, fernglas, nixos-exporter, solid-xmpp-alarm, ... }@inputs:
rec {
generateNixosSystem = {
@@ -16,7 +16,10 @@ rec {
Useful for having the monitoring server scraping the
target config from all other servers automatically.
*/
_module.args._nixfiles = self;
_module.args = {
inputs = inputs;
_nixfiles = self;
};
})
../configuration/common
../users/clerie
@@ -32,6 +35,7 @@ rec {
clerie.monitoring = nixpkgs.lib.attrsets.optionalAttrs (group != null) { serviceLevel = group; };
})
agenix.nixosModules.default
fernglas.nixosModules.default
solid-xmpp-alarm.nixosModules.solid-xmpp-alarm
(../hosts + "/${name}/configuration.nix")
# Automatically load secrets from the hosts secrets directory