refactor(self_host): sorting the options from the self_host

This commit is contained in:
Raphael 2025-10-31 14:27:48 +01:00
parent 2a36f5c9c1
commit 24fb95b32c
No known key found for this signature in database

View file

@ -7,6 +7,14 @@
}:
let
git = import ./self_host/git.nix {
inherit
inputs
config
pkgs
lib
;
};
htop = import ./self_host/htop.nix {
inherit
inputs
@ -59,11 +67,12 @@ let
in
{
imports = [
nextcloud
mail
git
htop
ollama
mail
monitor
nextcloud
ollama
sso
];
@ -73,16 +82,16 @@ in
};
};
options.service.selfhost = {
git = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Enable the git";
};
htop = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Enable the htop";
};
ollama = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Enable the ollama";
};
mail = lib.mkOption {
type = lib.types.bool;
default = false;
@ -98,6 +107,11 @@ in
default = false;
description = "Enable the nextcloud";
};
ollama = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Enable the ollama";
};
sso = lib.mkOption {
type = lib.types.bool;
default = false;