remove mkFlakeView

shitty abstractions bad
This commit is contained in:
2024-10-04 03:10:27 +02:00
parent c78862ef0e
commit d1d06e192f
3 changed files with 16 additions and 32 deletions

View File

@@ -1,4 +1,4 @@
{ config, pkgs, lib, mkDomain, flakes, ... }:
{ config, pkgs, lib, mkDomain, ... }:
let
cfg = config.services.docs-to-host;
@@ -48,7 +48,7 @@ in
services.docs-to-host.enable = mkEnableOption (lib.mdDoc "docs-to-host");
services.docs-to-host.pagefind = {
enable = mkEnableOption (lib.mdDoc "pagefind default on index of docs");
package = mkPackageOptionMD flakes.unstable.pkgs "pagefind" { };
package = mkPackageOptionMD pkgs.unstable "pagefind" { };
};
services.docs-to-host.docs = mkOption {
type = types.listOf (types.submodule {