added calibre, caddy-tailscale
This commit is contained in:
parent
dc3bdc5847
commit
82a9b3993f
5 changed files with 22 additions and 9 deletions
1
books
Symbolic link
1
books
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
/mnt/plakias/enc/books
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
./services/jellyfin.nix
|
./services/jellyfin.nix
|
||||||
./services/caddy.nix
|
./services/caddy.nix
|
||||||
# ./services/authentik.nix
|
# ./services/authentik.nix
|
||||||
# ./services/calibre-web.nix
|
./services/calibre-web.nix
|
||||||
# ./services/glances.nix
|
# ./services/glances.nix
|
||||||
# ./services/fail2ban.nix
|
# ./services/fail2ban.nix
|
||||||
# ./services/transmission.nix
|
# ./services/transmission.nix
|
||||||
|
|
@ -161,7 +161,7 @@
|
||||||
# Tailscale
|
# Tailscale
|
||||||
services.tailscale = {
|
services.tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#permitCertUid = "caddy";
|
permitCertUid = "caddy";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Cron
|
# Cron
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,18 @@
|
||||||
jellyfin.knossos.arkadi.one{
|
{
|
||||||
|
tailscale {
|
||||||
|
auth_key tskey-auth-kGCAC1FtKo11CNTRL-FARNW1DdaZ2Fs85NiiK2Y2SYfU14zET5F
|
||||||
|
# ephemeral true
|
||||||
|
# state_dir /home/elias/nixos-knossos/services/tailscale
|
||||||
|
# tag tag:knossos
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
https://jellyfin.zebra-rudd.ts.net {
|
||||||
|
bind tailscale/jellyfin
|
||||||
reverse_proxy localhost:8096
|
reverse_proxy localhost:8096
|
||||||
}
|
}
|
||||||
|
|
||||||
|
https://calibre.zebra-rudd.ts.net {
|
||||||
|
bind tailscale/calibre
|
||||||
|
reverse_proxy localhost:8083
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,13 +4,10 @@
|
||||||
services.caddy = {
|
services.caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.caddy.withPlugins {
|
package = pkgs.caddy.withPlugins {
|
||||||
pkgs.caddy.withPlugins {
|
|
||||||
plugins = [
|
plugins = [
|
||||||
"github.com/jasonlovesdoggo/caddy-defender@v0.8.5"
|
|
||||||
"github.com/tailscale/caddy-tailscale@v0.0.0-20250207163903-69a970c84556"
|
"github.com/tailscale/caddy-tailscale@v0.0.0-20250207163903-69a970c84556"
|
||||||
];
|
];
|
||||||
hash = "";
|
hash = "sha256-OydhzUGG3SUNeGXAsB9nqXtnwvD36+2p3QzDtU4YyFg=";
|
||||||
}
|
|
||||||
|
|
||||||
# plugins = [ "github.com/caddy-dns/gandi@v1.1.0" ];
|
# plugins = [ "github.com/caddy-dns/gandi@v1.1.0" ];
|
||||||
# hash = "sha256-5mjD0CY7f5+sRtV1rXysj8PvId2gQaWiXlIaTg2Lv8A=";
|
# hash = "sha256-5mjD0CY7f5+sRtV1rXysj8PvId2gQaWiXlIaTg2Lv8A=";
|
||||||
|
|
|
||||||
|
|
@ -9,14 +9,14 @@
|
||||||
ip = "0.0.0.0";
|
ip = "0.0.0.0";
|
||||||
port = 8083;
|
port = 8083;
|
||||||
};
|
};
|
||||||
openFirewall = true;
|
# openFirewall = true;
|
||||||
options = {
|
options = {
|
||||||
enableBookUploading = false;
|
enableBookUploading = false;
|
||||||
enableBookConversion = true;
|
enableBookConversion = true;
|
||||||
# No " " around absolute path
|
# No " " around absolute path
|
||||||
# Make sure a calibre library .db file is in this folder
|
# Make sure a calibre library .db file is in this folder
|
||||||
# Example file: https://github.com/janeczku/calibre-web/raw/master/library/metadata.db
|
# Example file: https://github.com/janeczku/calibre-web/raw/master/library/metadata.db
|
||||||
calibreLibrary =/mnt/plakias/enc/books;
|
calibreLibrary ="/home/elias/nixos-knossos/books";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue