feat: add very simple nixos module

This commit is contained in:
sinavir 2024-04-18 18:19:59 +02:00
parent 12b4168309
commit 0c6aa5730a
3 changed files with 57 additions and 1 deletions

16
tests/testmodule.nix Normal file
View file

@ -0,0 +1,16 @@
let
module = {
statelessUptimeKuma.probesConfig = {
monitors = [
{
name = "Nix probe";
type = "ping";
hostname = "localhost";
}
];
};
};
in
((import ../. {}).evalModules {
modules = [ module ];
}).config.statelessUptimeKuma.build.json