From 930e635a510b11a73247d615fca81c34afbb7493 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Tue, 23 Sep 2025 15:34:13 +0200 Subject: [PATCH] Reorder option declarations slightly --- modules/system/services/actualbudget.nix | 2 +- modules/system/services/filebrowser.nix | 2 +- modules/system/services/forgejo/default.nix | 2 +- modules/system/services/hedgedoc.nix | 2 +- modules/system/services/radicale.nix | 2 +- modules/system/services/victorialogs.nix | 8 ++++---- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/system/services/actualbudget.nix b/modules/system/services/actualbudget.nix index e3e27aa..83d99e0 100644 --- a/modules/system/services/actualbudget.nix +++ b/modules/system/services/actualbudget.nix @@ -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 { diff --git a/modules/system/services/filebrowser.nix b/modules/system/services/filebrowser.nix index e9c8644..3819247 100644 --- a/modules/system/services/filebrowser.nix +++ b/modules/system/services/filebrowser.nix @@ -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 { diff --git a/modules/system/services/forgejo/default.nix b/modules/system/services/forgejo/default.nix index 018ff65..1b00ff2 100644 --- a/modules/system/services/forgejo/default.nix +++ b/modules/system/services/forgejo/default.nix @@ -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 { diff --git a/modules/system/services/hedgedoc.nix b/modules/system/services/hedgedoc.nix index 8340fa1..aac4f8e 100644 --- a/modules/system/services/hedgedoc.nix +++ b/modules/system/services/hedgedoc.nix @@ -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 { diff --git a/modules/system/services/radicale.nix b/modules/system/services/radicale.nix index 17567b4..da7ad42 100644 --- a/modules/system/services/radicale.nix +++ b/modules/system/services/radicale.nix @@ -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 { diff --git a/modules/system/services/victorialogs.nix b/modules/system/services/victorialogs.nix index b696dce..7977c92 100644 --- a/modules/system/services/victorialogs.nix +++ b/modules/system/services/victorialogs.nix @@ -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 {