mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 22:11:33 +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 = {
|
options.custom.services.actualbudget = {
|
||||||
enable = lib.mkEnableOption "";
|
enable = lib.mkEnableOption "";
|
||||||
doBackups = lib.mkEnableOption "";
|
|
||||||
domain = lib.mkOption {
|
domain = lib.mkOption {
|
||||||
type = lib.types.nonEmptyStr;
|
type = lib.types.nonEmptyStr;
|
||||||
default = "";
|
default = "";
|
||||||
|
|
@ -14,6 +13,7 @@ in
|
||||||
type = lib.types.port;
|
type = lib.types.port;
|
||||||
default = 5006;
|
default = 5006;
|
||||||
};
|
};
|
||||||
|
doBackups = lib.mkEnableOption "";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ in
|
||||||
|
|
||||||
options.custom.services.filebrowser = {
|
options.custom.services.filebrowser = {
|
||||||
enable = lib.mkEnableOption "";
|
enable = lib.mkEnableOption "";
|
||||||
doBackups = lib.mkEnableOption "";
|
|
||||||
domain = lib.mkOption {
|
domain = lib.mkOption {
|
||||||
type = lib.types.nonEmptyStr;
|
type = lib.types.nonEmptyStr;
|
||||||
default = "";
|
default = "";
|
||||||
|
|
@ -21,6 +20,7 @@ in
|
||||||
type = lib.types.port;
|
type = lib.types.port;
|
||||||
default = 44093;
|
default = 44093;
|
||||||
};
|
};
|
||||||
|
doBackups = lib.mkEnableOption "";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ in
|
||||||
{
|
{
|
||||||
options.custom.services.forgejo = {
|
options.custom.services.forgejo = {
|
||||||
enable = lib.mkEnableOption "";
|
enable = lib.mkEnableOption "";
|
||||||
doBackups = lib.mkEnableOption "";
|
|
||||||
domain = lib.mkOption {
|
domain = lib.mkOption {
|
||||||
type = lib.types.nonEmptyStr;
|
type = lib.types.nonEmptyStr;
|
||||||
default = "";
|
default = "";
|
||||||
|
|
@ -19,6 +18,7 @@ in
|
||||||
type = lib.types.port;
|
type = lib.types.port;
|
||||||
default = 3003;
|
default = 3003;
|
||||||
};
|
};
|
||||||
|
doBackups = lib.mkEnableOption "";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ in
|
||||||
{
|
{
|
||||||
options.custom.services.hedgedoc = {
|
options.custom.services.hedgedoc = {
|
||||||
enable = lib.mkEnableOption "";
|
enable = lib.mkEnableOption "";
|
||||||
doBackups = lib.mkEnableOption "";
|
|
||||||
domain = lib.mkOption {
|
domain = lib.mkOption {
|
||||||
type = lib.types.nonEmptyStr;
|
type = lib.types.nonEmptyStr;
|
||||||
default = "";
|
default = "";
|
||||||
|
|
@ -19,6 +18,7 @@ in
|
||||||
type = lib.types.port;
|
type = lib.types.port;
|
||||||
default = 3000;
|
default = 3000;
|
||||||
};
|
};
|
||||||
|
doBackups = lib.mkEnableOption "";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ in
|
||||||
{
|
{
|
||||||
options.custom.services.radicale = {
|
options.custom.services.radicale = {
|
||||||
enable = lib.mkEnableOption "";
|
enable = lib.mkEnableOption "";
|
||||||
doBackups = lib.mkEnableOption "";
|
|
||||||
domain = lib.mkOption {
|
domain = lib.mkOption {
|
||||||
type = lib.types.nonEmptyStr;
|
type = lib.types.nonEmptyStr;
|
||||||
default = "";
|
default = "";
|
||||||
|
|
@ -20,6 +19,7 @@ in
|
||||||
type = lib.types.port;
|
type = lib.types.port;
|
||||||
default = 5232;
|
default = 5232;
|
||||||
};
|
};
|
||||||
|
doBackups = lib.mkEnableOption "";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
|
||||||
|
|
@ -10,10 +10,6 @@ in
|
||||||
{
|
{
|
||||||
options.custom.services.victorialogs = {
|
options.custom.services.victorialogs = {
|
||||||
enable = lib.mkEnableOption "";
|
enable = lib.mkEnableOption "";
|
||||||
maxDiskSpaceUsage = lib.mkOption {
|
|
||||||
type = lib.types.nonEmptyStr;
|
|
||||||
default = "10GiB";
|
|
||||||
};
|
|
||||||
domain = lib.mkOption {
|
domain = lib.mkOption {
|
||||||
type = lib.types.nonEmptyStr;
|
type = lib.types.nonEmptyStr;
|
||||||
default = "";
|
default = "";
|
||||||
|
|
@ -22,6 +18,10 @@ in
|
||||||
type = lib.types.port;
|
type = lib.types.port;
|
||||||
default = 9428;
|
default = 9428;
|
||||||
};
|
};
|
||||||
|
maxDiskSpaceUsage = lib.mkOption {
|
||||||
|
type = lib.types.nonEmptyStr;
|
||||||
|
default = "10GiB";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue