mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
bentopdf added
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
# let
|
||||
# pkgs-stable = import inputs.nixpkgs-stable { system = "x86_64-linux"; };
|
||||
# in
|
||||
{
|
||||
services.bentopdf = {
|
||||
enable = true;
|
||||
domain = "bentopdf.local";
|
||||
nginx.enable = true;
|
||||
# package = pkgs-stable.bentopdf;
|
||||
};
|
||||
}
|
||||
@@ -5,6 +5,7 @@
|
||||
{
|
||||
imports = [
|
||||
../software/beets
|
||||
./bentopdf.nix
|
||||
./calibre-web.nix
|
||||
./glances.nix
|
||||
./immich.nix
|
||||
|
||||
@@ -31,6 +31,27 @@ in
|
||||
}
|
||||
];
|
||||
};
|
||||
"bentopdf.local" = {
|
||||
forceSSL = false;
|
||||
enableACME = false;
|
||||
listen = [
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 80;
|
||||
}
|
||||
{
|
||||
addr = "100.64.0.0";
|
||||
port = 8446;
|
||||
}
|
||||
{
|
||||
addr = "192.168.1.20";
|
||||
port = 8446;
|
||||
}
|
||||
];
|
||||
extraConfig = ''
|
||||
client_max_body_size 5G;
|
||||
'';
|
||||
};
|
||||
"nextcloud.local" = {
|
||||
forceSSL = false;
|
||||
enableACME = false;
|
||||
|
||||
Reference in New Issue
Block a user