baikal (deactivated)

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2026-02-01 21:50:25 +01:00
parent 951d03e0b7
commit 070695fa4d
4 changed files with 3235 additions and 0 deletions

View File

@@ -48,6 +48,7 @@
./system-modules/postgres.nix ./system-modules/postgres.nix
./system-modules/nx2site/proxy.nix ./system-modules/nx2site/proxy.nix
./system-modules/nx2site/audiobookshelf.nix ./system-modules/nx2site/audiobookshelf.nix
# ./system-modules/nx2site/baikal.nix
./system-modules/nx2site/copyparty.nix ./system-modules/nx2site/copyparty.nix
./system-modules/nx2site/gitea.nix ./system-modules/nx2site/gitea.nix
./system-modules/nx2site/open-web-calendar.nix ./system-modules/nx2site/open-web-calendar.nix

View File

@@ -0,0 +1,22 @@
{ pkgs, ... }@all: with all; {
services.baikal = {
enable = true;
# pool =
user = "baikal";
group = "baikal";
package = pkgs.php.buildComposerProject2 (finalAttrs: {
pname = "baikal";
version = "0.10.1";
src = pkgs.fetchFromGitHub {
owner = "sabre-io";
repo = "Baikal";
tag = "0.10.1";
hash = "sha256-YQQwTdwfHQZdUhO5HbScj/Bl8ype7TtPI3lHjvz2k04=";
};
# It doesn't provide a composer.lock file, we have to generate manually.
composerLock = ./composer.lock;
vendorHash = "sha256-dYg7cULL4gquR5EenA0lD9ZC9Ge4qNwFFDNhELKgSso=";
});
virtualHost = "baikal.${hyper.domain}";
};
}

3208
system-modules/nx2site/composer.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -192,6 +192,10 @@
# proxyWebsockets = true; # proxyWebsockets = true;
# }; }; # }; };
# }; # };
# "baikal.${hyper.domain}" = {
# forceSSL = true;
# enableACME = true;
# };
"file.${hyper.domain}" = { # copyparty "file.${hyper.domain}" = { # copyparty
listen = dl; listen = dl;
forceSSL = true; forceSSL = true;