From 72136fac64ca499726c32057d232199044e3a5b1 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 5 Feb 2025 12:12:28 +0000 Subject: [PATCH] nixos/homebox: fix 'settings' default description --- nixos/modules/services/web-apps/homebox.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/nixos/modules/services/web-apps/homebox.nix b/nixos/modules/services/web-apps/homebox.nix index a6f4a58d0e57..f2e17a1b85f0 100644 --- a/nixos/modules/services/web-apps/homebox.nix +++ b/nixos/modules/services/web-apps/homebox.nix @@ -20,12 +20,14 @@ in package = mkPackageOption pkgs "homebox" { }; settings = lib.mkOption { type = types.attrsOf types.str; - defaultText = '' - HBOX_STORAGE_DATA = "/var/lib/homebox/data"; - HBOX_STORAGE_SQLITE_URL = "/var/lib/homebox/data/homebox.db?_pragma=busy_timeout=999&_pragma=journal_mode=WAL&_fk=1"; - HBOX_OPTIONS_ALLOW_REGISTRATION = "false"; - HBOX_OPTIONS_CHECK_GITHUB_RELEASE = "false"; - HBOX_MODE = "production"; + defaultText = lib.literalExpression '' + { + HBOX_STORAGE_DATA = "/var/lib/homebox/data"; + HBOX_STORAGE_SQLITE_URL = "/var/lib/homebox/data/homebox.db?_pragma=busy_timeout=999&_pragma=journal_mode=WAL&_fk=1"; + HBOX_OPTIONS_ALLOW_REGISTRATION = "false"; + HBOX_OPTIONS_CHECK_GITHUB_RELEASE = "false"; + HBOX_MODE = "production"; + } ''; description = '' The homebox configuration as Environment variables. For definitions and available options see the upstream