aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/sh/sharkey/module.nix19
1 files changed, 2 insertions, 17 deletions
diff --git a/modules/by-name/sh/sharkey/module.nix b/modules/by-name/sh/sharkey/module.nix
index 155d658..18bf394 100644
--- a/modules/by-name/sh/sharkey/module.nix
+++ b/modules/by-name/sh/sharkey/module.nix
@@ -3,22 +3,11 @@
lib,
pkgs,
pkgsUnstable,
- nixpkgs-unstable,
...
}: let
cfg = config.vhack.sharkey;
in {
- imports = [
- # TODO(@bpeetz): Remove this import once we update to NixOS 25.11 <2025-07-12>
- "${nixpkgs-unstable}/nixos/modules/services/web-apps/sharkey.nix"
- ];
-
options = {
- services.meilisearch.settings = lib.mkOption {
- type = lib.types.attrsOf lib.type.anything;
- default = {};
- };
-
vhack.sharkey = {
enable = lib.mkEnableOption "sharkey";
@@ -88,14 +77,10 @@ in {
};
systemd.services.sharkey = {
- # TODO(@bpeetz): `postgresql.target` is only available in NixOS 25.11, as such we
- # need to override this back to the postgresql.service. <2025-07-12>
- after = lib.mkForce [
- "postgresql.service"
+ after = [
"redis-sharkey.service"
];
- bindsTo = lib.mkForce [
- "postgresql.service"
+ bindsTo = [
"redis-sharkey.service"
];