From 992f8bf968f23b026ed5355332d3b2434ea5515b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 30 Jun 2024 12:57:31 +0200 Subject: [PATCH] nixos/shiori: fix nixos types for paths --- nixos/modules/services/web-apps/shiori.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/web-apps/shiori.nix b/nixos/modules/services/web-apps/shiori.nix index 208b5432ef8a..53662010070c 100644 --- a/nixos/modules/services/web-apps/shiori.nix +++ b/nixos/modules/services/web-apps/shiori.nix @@ -31,7 +31,7 @@ in { }; environmentFile = lib.mkOption { - type = lib.types.null or lib.types.path; + type = lib.types.nullOr lib.types.path; default = null; example = "/path/to/environmentFile"; description = '' @@ -42,7 +42,7 @@ in { }; databaseUrl = lib.mkOption { - type = lib.types.null or lib.types.str; + type = lib.types.nullOr lib.types.str; default = null; example = "postgresql:///shiori?host=/run/postgresql"; description = "The connection URL to connect to MySQL or PostgreSQL";