nixos/bookstack: add package option (#364347)

This commit is contained in:
Sandro
2024-12-12 21:21:52 -05:00
committed by GitHub
parent c99ef045eb
commit 7f632a70b8
@@ -4,7 +4,7 @@ with lib;
let
cfg = config.services.bookstack;
bookstack = pkgs.bookstack.override {
bookstack = cfg.package.override {
dataDir = cfg.dataDir;
};
db = cfg.database;
@@ -33,9 +33,10 @@ in {
];
options.services.bookstack = {
enable = mkEnableOption "BookStack";
package = mkPackageOption pkgs "bookstack" { };
user = mkOption {
default = "bookstack";
description = "User bookstack runs as.";