style(self_host/glances): moving to prepare grafana/prometheus
This commit is contained in:
parent
0c1fd449ad
commit
6e2a2670e5
3 changed files with 29 additions and 0 deletions
|
|
@ -1,6 +1,9 @@
|
|||
{ inputs, config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
htop = import ./self_host/htop.nix {
|
||||
inherit inputs config pkgs lib;
|
||||
};
|
||||
monitor = import ./self_host/monitor.nix {
|
||||
inherit inputs config pkgs lib;
|
||||
};
|
||||
|
|
@ -12,6 +15,7 @@ in
|
|||
{
|
||||
imports = [
|
||||
nextcloud
|
||||
htop
|
||||
monitor
|
||||
];
|
||||
|
||||
|
|
@ -21,6 +25,11 @@ in
|
|||
};
|
||||
};
|
||||
options.service.selfhost = {
|
||||
htop = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable the htop";
|
||||
};
|
||||
monitor = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue