mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
nixos/shiori: fix nixos types for paths
This commit is contained in:
parent
0b7f2a2cda
commit
992f8bf968
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue