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
+2 -2
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 {
+2 -2
View File
@@ -1,7 +1,7 @@
{ config, lib, mkDomain, flakes, ... }:
{ config, lib, mkDomain, inputs, ... }:
let
myStickerPicker = flakes.maunium-stickerpicker-nix.createStickerPicker {
myStickerPicker = inputs.maunium-stickerpicker-nix.createStickerPicker {
#homeserver = "https://matrix.pvv.ntnu.no";
#userId = "@stickerbot:my.matrix.server";
## You should probably encrypt this with either agenix, sops-nix or whatever else