drop redlib

This commit is contained in:
Henry Hiles 2026-11-13 23:45:01 -05:00
commit 92d13ef936
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
3 changed files with 0 additions and 53 deletions

View file

@ -1,45 +0,0 @@
{
config,
inputs,
pkgs,
...
}:
{
services = {
redlib = {
enable = true;
address = "127.0.0.6";
port = 8082;
settings.REDLIB_DEFAULT_THEME = "nord";
package = pkgs.redlib.overrideAttrs (oldAttrs: rec {
doCheck = false;
src = inputs.redlib;
nativeBuildInputs =
(oldAttrs.nativeBuildInputs or [ ])
++ (with pkgs; [
cmake
go
perl
git
pkg-config
rustPlatform.bindgenHook
]);
buildInputs = (oldAttrs.buildInputs or [ ]) ++ [ pkgs.zstd ];
cargoDeps = pkgs.rustPlatform.fetchCargoVendor {
inherit src;
hash = "sha256-xUFN5Be+LR9Ogm26Zv7G9bd9oXyHzCyGjHy3vxlH8SM=";
};
});
};
caddy.authedHosts."redlib.federated.nexus" =
with config.services.redlib;
"reverse_proxy ${address}:${toString port}";
};
systemd.services.redlib.serviceConfig.Restart = "always";
}

View file

@ -102,10 +102,6 @@
name = "Degoog (Search)";
service = "degoog.service";
}
{
name = "Redlib";
service = "redlib.service";
}
]
);
}

View file

@ -93,10 +93,6 @@
url = "github:rafaelmardojai/firefox-gnome-theme";
flake = false;
};
redlib = {
url = "github:Nachtalb/redlib";
flake = false;
};
# TODO: remove once https://github.com/NixOS/nixpkgs/pull/548367 is merged
lk-jwt-service-module = {
url = "file+https://raw.githubusercontent.com/j0hax/nixpkgs/lk-jwt-service-restructure/nixos/modules/services/matrix/lk-jwt-service.nix";