drop redlib
This commit is contained in:
parent
af8cc2addc
commit
92d13ef936
3 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)";
|
name = "Degoog (Search)";
|
||||||
service = "degoog.service";
|
service = "degoog.service";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
name = "Redlib";
|
|
||||||
service = "redlib.service";
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -93,10 +93,6 @@
|
||||||
url = "github:rafaelmardojai/firefox-gnome-theme";
|
url = "github:rafaelmardojai/firefox-gnome-theme";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
redlib = {
|
|
||||||
url = "github:Nachtalb/redlib";
|
|
||||||
flake = false;
|
|
||||||
};
|
|
||||||
# TODO: remove once https://github.com/NixOS/nixpkgs/pull/548367 is merged
|
# TODO: remove once https://github.com/NixOS/nixpkgs/pull/548367 is merged
|
||||||
lk-jwt-service-module = {
|
lk-jwt-service-module = {
|
||||||
url = "file+https://raw.githubusercontent.com/j0hax/nixpkgs/lk-jwt-service-restructure/nixos/modules/services/matrix/lk-jwt-service.nix";
|
url = "file+https://raw.githubusercontent.com/j0hax/nixpkgs/lk-jwt-service-restructure/nixos/modules/services/matrix/lk-jwt-service.nix";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue