mirror of
https://github.com/oqyude/nixos.git
synced 2026-10-07 20:47:14 +03:00
60 lines
1.4 KiB
Nix
60 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
xlib,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
../containers/3x-ui.nix
|
|
../pkgs/beets.nix
|
|
./acme.nix
|
|
./bentopdf.nix
|
|
./calibre-web.nix
|
|
./chrony.nix
|
|
./coredns.nix
|
|
./gitea.nix
|
|
./glances.nix
|
|
./homebox.nix
|
|
./immich.nix
|
|
# ./minecraft.nix
|
|
./miniflux.nix
|
|
./navidrome.nix
|
|
./nextcloud.nix
|
|
./nginx.nix
|
|
./nix-serve.nix
|
|
./onlyoffice.nix
|
|
./postgresql.nix
|
|
./power.nix
|
|
./samba.nix
|
|
./syncthing.nix
|
|
./systemd.nix
|
|
./uptime-kuma.nix
|
|
# ../containers/remnawave.nix
|
|
# ./coturn.nix
|
|
# ./mealie.nix
|
|
# ./memos.nix
|
|
# ./n8n.nix
|
|
# ./netdata.nix
|
|
# ./nfs.nix
|
|
# ./open-webui.nix
|
|
# ./rsync.nix
|
|
# ./step-ca.nix
|
|
# ./stirling-pdf.nix
|
|
# ./transmission.nix
|
|
# ./trilium.nix
|
|
# ./zerotier.nix
|
|
];
|
|
# Server's 3x-ui is the controller panel at x.zeroq.su, wired the same
|
|
# way as the VDS node: nginx stream SNI-routes x.zeroq.su → container:2049
|
|
# (3x-ui terminates TLS itself with the mounted LE cert), and the default
|
|
# SNI → Xray REALITY via host:15380 → container:443 (see nginx.nix).
|
|
xlib.services."3x-ui" = {
|
|
certDomain = "x.zeroq.su";
|
|
reality443Forwarding = true;
|
|
};
|
|
systemd.tmpfiles.rules = [
|
|
(xlib.helpers.mkTmpfile "d" "/mnt" "0755" "root" "root")
|
|
(xlib.helpers.mkTmpfile "d" xlib.dirs.services-mnt-folder "0755" "root" "root")
|
|
];
|
|
}
|