refactor(self_host): sorting the options from the self_host
This commit is contained in:
parent
2a36f5c9c1
commit
24fb95b32c
1 changed files with 22 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue