summary refs log tree commit diff stats
path: root/system/services/libreddit/default.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-16 14:21:33 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-16 14:21:33 +0100
commit778c7d47437b3d27b71a6e3317b524503a009ebf (patch)
treecd796ef4b5365502fdf28a39bfe1dc578d677554 /system/services/libreddit/default.nix
parentbuild(flake.lock): Update (diff)
downloadnixos-server-778c7d47437b3d27b71a6e3317b524503a009ebf.tar.gz
nixos-server-778c7d47437b3d27b71a6e3317b524503a009ebf.zip
fix(system/services/libreddit): Use unstable `redlib` version
The current stable version has a bug with regard to parsing the current
reddit json responses.
Diffstat (limited to '')
-rw-r--r--system/services/libreddit/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/services/libreddit/default.nix b/system/services/libreddit/default.nix
index d2f06f4..f7cc5f8 100644
--- a/system/services/libreddit/default.nix
+++ b/system/services/libreddit/default.nix
@@ -1,6 +1,6 @@
 {
   config,
-  pkgs,
+  pkgsUnstable,
   lib,
   ...
 }: let
@@ -8,7 +8,7 @@
 in {
   services.libreddit = {
     enable = true;
-    package = pkgs.redlib;
+    package = pkgsUnstable.redlib;
     port = 8080;
     address = "127.0.0.1";
     openFirewall = false;