Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Jun 23, 2024
1 parent 6b97c83 commit 32b2407
Show file tree
Hide file tree
Showing 15 changed files with 47 additions and 7 deletions.
10 changes: 10 additions & 0 deletions hosts/nodens/caddy.nix
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,16 @@
match = [ { host = [ "matrix.nyaw.xyz" ]; } ];
terminal = true;
}
{
match = [ { host = [ "anti-ocr.nyaw.xyz" ]; } ];
terminal = true;
handle = [
{
handler = "file_server";
root = pkgs.anti-ocr;
}
];
}
{
handle = [
{
Expand Down
14 changes: 7 additions & 7 deletions hosts/nodens/spec.nix
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,13 @@
};
};

online-keeper.instances = [
{
name = "sec";
sessionFile = config.age.secrets.tg-session.path;
environmentFile = config.age.secrets.tg-env.path;
}
];
# online-keeper.instances = [
# {
# name = "sec";
# sessionFile = config.age.secrets.tg-session.path;
# environmentFile = config.age.secrets.tg-env.path;
# }
# ];

juicity.instances = {
only = {
Expand Down
29 changes: 29 additions & 0 deletions pkgs/anti-ocr.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "anti-ocr";

version = "unstable-2019-01-28";

src = fetchFromGitHub {
owner = "yuzu233";
repo = "anti-ocr";
rev = "04bd8d01dd34c78d6818fe6e39acfdc258dece7d";
hash = "sha256-kdjy5xNKV19BQ2rzMoRaHYWGiIw9E0vjE1G0/27GdVo=";
};

installPhase = ''
mkdir -p $out
install -D ./index.html $out
install -D ./main.js $out
'';

meta = with lib; {
homepage = "https://github.com/yuzu233/anti-ocr";
platforms = platforms.all;
maintainers = with maintainers; [ oluceps ];
};
})
Binary file modified sec/dae.age
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions userPkgs.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ pkgs, ... }:
with pkgs;
[
gtkcord4
amberol
mako
# qq
Expand Down

0 comments on commit 32b2407

Please sign in to comment.