baikal (deactivated)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
22
system-modules/nx2site/baikal.nix
Normal file
22
system-modules/nx2site/baikal.nix
Normal 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
3208
system-modules/nx2site/composer.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user