mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Reorder option declarations slightly
This commit is contained in:
parent
a8b475be84
commit
930e635a51
6 changed files with 9 additions and 9 deletions
|
|
@ -5,7 +5,6 @@ in
|
|||
{
|
||||
options.custom.services.actualbudget = {
|
||||
enable = lib.mkEnableOption "";
|
||||
doBackups = lib.mkEnableOption "";
|
||||
domain = lib.mkOption {
|
||||
type = lib.types.nonEmptyStr;
|
||||
default = "";
|
||||
|
|
@ -14,6 +13,7 @@ in
|
|||
type = lib.types.port;
|
||||
default = 5006;
|
||||
};
|
||||
doBackups = lib.mkEnableOption "";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ in
|
|||
|
||||
options.custom.services.filebrowser = {
|
||||
enable = lib.mkEnableOption "";
|
||||
doBackups = lib.mkEnableOption "";
|
||||
domain = lib.mkOption {
|
||||
type = lib.types.nonEmptyStr;
|
||||
default = "";
|
||||
|
|
@ -21,6 +20,7 @@ in
|
|||
type = lib.types.port;
|
||||
default = 44093;
|
||||
};
|
||||
doBackups = lib.mkEnableOption "";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ in
|
|||
{
|
||||
options.custom.services.forgejo = {
|
||||
enable = lib.mkEnableOption "";
|
||||
doBackups = lib.mkEnableOption "";
|
||||
domain = lib.mkOption {
|
||||
type = lib.types.nonEmptyStr;
|
||||
default = "";
|
||||
|
|
@ -19,6 +18,7 @@ in
|
|||
type = lib.types.port;
|
||||
default = 3003;
|
||||
};
|
||||
doBackups = lib.mkEnableOption "";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ in
|
|||
{
|
||||
options.custom.services.hedgedoc = {
|
||||
enable = lib.mkEnableOption "";
|
||||
doBackups = lib.mkEnableOption "";
|
||||
domain = lib.mkOption {
|
||||
type = lib.types.nonEmptyStr;
|
||||
default = "";
|
||||
|
|
@ -19,6 +18,7 @@ in
|
|||
type = lib.types.port;
|
||||
default = 3000;
|
||||
};
|
||||
doBackups = lib.mkEnableOption "";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ in
|
|||
{
|
||||
options.custom.services.radicale = {
|
||||
enable = lib.mkEnableOption "";
|
||||
doBackups = lib.mkEnableOption "";
|
||||
domain = lib.mkOption {
|
||||
type = lib.types.nonEmptyStr;
|
||||
default = "";
|
||||
|
|
@ -20,6 +19,7 @@ in
|
|||
type = lib.types.port;
|
||||
default = 5232;
|
||||
};
|
||||
doBackups = lib.mkEnableOption "";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
|
|||
|
|
@ -10,10 +10,6 @@ in
|
|||
{
|
||||
options.custom.services.victorialogs = {
|
||||
enable = lib.mkEnableOption "";
|
||||
maxDiskSpaceUsage = lib.mkOption {
|
||||
type = lib.types.nonEmptyStr;
|
||||
default = "10GiB";
|
||||
};
|
||||
domain = lib.mkOption {
|
||||
type = lib.types.nonEmptyStr;
|
||||
default = "";
|
||||
|
|
@ -22,6 +18,10 @@ in
|
|||
type = lib.types.port;
|
||||
default = 9428;
|
||||
};
|
||||
maxDiskSpaceUsage = lib.mkOption {
|
||||
type = lib.types.nonEmptyStr;
|
||||
default = "10GiB";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue