mirror of
https://github.com/oqyude/nixos.git
synced 2026-10-07 20:47:14 +03:00
26 lines
594 B
Nix
26 lines
594 B
Nix
{
|
|
lib,
|
|
xlib,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
../containers/3x-ui.nix
|
|
./nginx.nix
|
|
./samba.nix
|
|
./systemd.nix
|
|
# ./glances.nix
|
|
# ./netbird.nix
|
|
];
|
|
# VDS hosts the public-facing Xray REALITY inbound on container:443,
|
|
# fronted by nginx stream on host:443 → host:15380 → container:443.
|
|
xlib.services."3x-ui" = {
|
|
certDomain = "pubray1.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")
|
|
];
|
|
}
|