Compare commits

...

2 commits

Author SHA1 Message Date
7fe6c24a73
Fix redlib override 2026-04-16 18:49:07 -04:00
19143134bf
Reapply "override redlib"
This reverts commit 04c6fa68c0.
2026-04-16 18:37:21 -04:00
4 changed files with 49 additions and 4 deletions

View file

@ -1,5 +1,7 @@
{
config,
inputs,
pkgs,
...
}:
{
@ -9,6 +11,26 @@
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
rustPlatform.bindgenHook
]);
cargoDeps = pkgs.rustPlatform.fetchCargoVendor {
inherit src;
hash = "sha256-eO3c7rlFna3DuO31etJ6S4c7NmcvgvIWZ1KVkNIuUqQ=";
};
});
};
caddy.authedHosts."redlib.federated.nexus" =

25
flake.lock generated
View file

@ -1665,11 +1665,11 @@
]
},
"locked": {
"lastModified": 1775853233,
"narHash": "sha256-UWPNN2R1CF4w6h+aK/ecaYYtL8n7s67/Lr+1YbHB95M=",
"lastModified": 1776027210,
"narHash": "sha256-rQEwWySmuokverRdMyHCcB4oxU8jc29xIw3YqlAxbaA=",
"ref": "refs/heads/main",
"rev": "07decc10e243c3f13cc6261393b36f4f6bc65b3c",
"revCount": 457,
"rev": "b701da19dcd29044f6d0a61a6171aded5f5dd043",
"revCount": 469,
"submodules": true,
"type": "git",
"url": "https://git.federated.nexus/nexus/Nexus"
@ -2633,6 +2633,22 @@
"type": "github"
}
},
"redlib": {
"flake": false,
"locked": {
"lastModified": 1775740122,
"narHash": "sha256-jiLjyp6ze3HEsr7F+eRW3DyKJBJl+EoNjQ0wpEB+xlc=",
"owner": "Silvenga",
"repo": "redlib",
"rev": "72394ed320bd4437bb29e8780af0513b4ff02152",
"type": "github"
},
"original": {
"owner": "Silvenga",
"repo": "redlib",
"type": "github"
}
},
"root": {
"inputs": {
"agenix": "agenix",
@ -2652,6 +2668,7 @@
"nix-matrix-appservices": "nix-matrix-appservices",
"nixpkgs": "nixpkgs_2",
"nixpkgs-custom": "nixpkgs-custom",
"redlib": "redlib",
"run0-sudo-shim": "run0-sudo-shim",
"sdm845": "sdm845",
"stylix": "stylix",

View file

@ -22,6 +22,10 @@
url = "git+https://codeberg.org/lapingvino/cinny";
flake = false;
};
redlib = {
url = "github:Silvenga/redlib";
flake = false;
};
stylix = {
url = "github:danth/stylix";
inputs.nixpkgs.follows = "nixpkgs";

View file

@ -45,6 +45,8 @@
"freetard\\.net$" # racism, zip bomb attempts
];
ignore_messages_from_server_names = [ ];
allow_joining_broken_rooms = true;
trusted_servers = [
"maunium.net"
"codestorm.net"