mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +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 {
|
environmentFile = lib.mkOption {
|
||||||
type = lib.types.null or lib.types.path;
|
type = lib.types.nullOr lib.types.path;
|
||||||
default = null;
|
default = null;
|
||||||
example = "/path/to/environmentFile";
|
example = "/path/to/environmentFile";
|
||||||
description = ''
|
description = ''
|
||||||
|
@ -42,7 +42,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
databaseUrl = lib.mkOption {
|
databaseUrl = lib.mkOption {
|
||||||
type = lib.types.null or lib.types.str;
|
type = lib.types.nullOr lib.types.str;
|
||||||
default = null;
|
default = null;
|
||||||
example = "postgresql:///shiori?host=/run/postgresql";
|
example = "postgresql:///shiori?host=/run/postgresql";
|
||||||
description = "The connection URL to connect to MySQL or PostgreSQL";
|
description = "The connection URL to connect to MySQL or PostgreSQL";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue