mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-07-02 07:27:20 +02:00
feat: finish stateless uptime kuma monitors configuration
This commit is contained in:
parent
3f3d3511fe
commit
655d9a32a1
5 changed files with 27 additions and 3 deletions
|
@ -1,4 +1,9 @@
|
|||
{ lib, profiles, ... }:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
profiles,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.machine.meta = lib.mkOption {
|
||||
description = "Machine metadata";
|
||||
|
@ -38,6 +43,11 @@
|
|||
default = with profiles; [ base ];
|
||||
};
|
||||
|
||||
monitors = mkOption {
|
||||
default = { };
|
||||
type = types.attrsOf (pkgs.formats.json { }).type;
|
||||
};
|
||||
|
||||
defaultInterface = mkOption {
|
||||
description = "default interface of the machine";
|
||||
default = "ens18";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue