add option to set package

This commit is contained in:
sinavir 2022-12-12 18:09:54 +01:00
parent 74e0802c11
commit 4656f9c678

View file

@ -1,7 +1,7 @@
{ pkgs, lib, config, ... }:
let
cfg = config.services.lychee;
src = pkgs.lychee-gallery;
src = cfg.package;
envConf = cfg.settings;
in
{
@ -12,6 +12,9 @@ in
default = "localhost";
example = "www.example.com";
};
package = lib.mkOption {
type = lib.types.path;
};
forceSSL = lib.mkOption {
type = lib.types.bool;
default = true;