feat(selfhost/glances): adding a monitor to my server

This commit is contained in:
Raphael 2025-06-24 23:55:55 +02:00
parent e881327e72
commit 0c1fd449ad
4 changed files with 35 additions and 0 deletions

View file

@ -1,6 +1,9 @@
{ inputs, config, pkgs, lib, ... }:
let
monitor = import ./self_host/monitor.nix {
inherit inputs config pkgs lib;
};
nextcloud = import ./self_host/nextcloud.nix {
inherit inputs config pkgs lib;
};
@ -9,6 +12,7 @@ in
{
imports = [
nextcloud
monitor
];
config = {
@ -17,6 +21,11 @@ in
};
};
options.service.selfhost = {
monitor = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Enable the monitor";
};
nextcloud = lib.mkOption {
type = lib.types.bool;
default = false;