drop redlib
This commit is contained in:
parent
af8cc2addc
commit
92d13ef936
2 changed files with 0 additions and 53 deletions
|
|
@ -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";
|
||||
}
|
||||
|
|
@ -102,10 +102,6 @@
|
|||
name = "Degoog (Search)";
|
||||
service = "degoog.service";
|
||||
}
|
||||
{
|
||||
name = "Redlib";
|
||||
service = "redlib.service";
|
||||
}
|
||||
]
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue