add linkding
This commit is contained in:
parent
9cbb9b348b
commit
6a641c81d5
4 changed files with 49 additions and 4 deletions
|
|
@ -9,6 +9,10 @@
|
||||||
name = "Claude";
|
name = "Claude";
|
||||||
url = "https://claude.ai";
|
url = "https://claude.ai";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "Linkding";
|
||||||
|
url = "https://link.yanlincs.com";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name = "Immich";
|
name = "Immich";
|
||||||
url = "https://photo.yanlincs.com/photos";
|
url = "https://photo.yanlincs.com/photos";
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ args:
|
||||||
if firefox-addons != null then
|
if firefox-addons != null then
|
||||||
with firefox-addons.packages.${args.pkgs.stdenv.hostPlatform.system}; [
|
with firefox-addons.packages.${args.pkgs.stdenv.hostPlatform.system}; [
|
||||||
ublock-origin
|
ublock-origin
|
||||||
|
linkding-extension
|
||||||
vimium
|
vimium
|
||||||
cookies-txt
|
cookies-txt
|
||||||
darkreader
|
darkreader
|
||||||
|
|
|
||||||
|
|
@ -228,12 +228,12 @@ in
|
||||||
# qBittorrent torrent client with host networking
|
# qBittorrent torrent client with host networking
|
||||||
qbittorrent = {
|
qbittorrent = {
|
||||||
image = "docker.io/linuxserver/qbittorrent:4.6.7";
|
image = "docker.io/linuxserver/qbittorrent:4.6.7";
|
||||||
|
|
||||||
volumes = [
|
volumes = [
|
||||||
"/var/lib/containers/config/qbittorrent:/config"
|
"/var/lib/containers/config/qbittorrent:/config"
|
||||||
"/mnt/storage/Media:/data"
|
"/mnt/storage/Media:/data"
|
||||||
];
|
];
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
PUID = commonUID;
|
PUID = commonUID;
|
||||||
PGID = commonGID;
|
PGID = commonGID;
|
||||||
|
|
@ -241,11 +241,30 @@ in
|
||||||
TORRENTING_PORT = "41234";
|
TORRENTING_PORT = "41234";
|
||||||
WEBUI_PORT = "8080";
|
WEBUI_PORT = "8080";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
"--network=host"
|
"--network=host"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
autoStart = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Linkding bookmark manager
|
||||||
|
linkding = {
|
||||||
|
image = "docker.io/sissbruecker/linkding:latest-plus";
|
||||||
|
|
||||||
|
volumes = [
|
||||||
|
"/var/lib/containers/config/linkding:/etc/linkding/data"
|
||||||
|
];
|
||||||
|
|
||||||
|
ports = [
|
||||||
|
"5009:9090"
|
||||||
|
];
|
||||||
|
|
||||||
|
extraOptions = [
|
||||||
|
"--network=podman"
|
||||||
|
];
|
||||||
|
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -90,6 +90,18 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Linkding bookmark manager
|
||||||
|
link = {
|
||||||
|
rule = "Host(`link.yanlincs.com`)";
|
||||||
|
service = "link";
|
||||||
|
tls = {
|
||||||
|
certResolver = "cloudflare";
|
||||||
|
domains = [{
|
||||||
|
main = "*.yanlincs.com";
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|
@ -157,6 +169,15 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Linkding backend (via WireGuard)
|
||||||
|
link = {
|
||||||
|
loadBalancer = {
|
||||||
|
servers = [{
|
||||||
|
url = "http://10.2.2.20:5009";
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue