mirror of
https://github.com/oqyude/nixos.git
synced 2026-10-07 20:47:14 +03:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
daac09206e |
@@ -46,7 +46,7 @@ in
|
||||
oci-containers = {
|
||||
backend = "podman";
|
||||
containers."3xui_app" = {
|
||||
image = "ghcr.io/mhsanaei/3x-ui:latest";
|
||||
image = "ghcr.io/mhsanaei/3x-ui:v3.8.5";
|
||||
environment = {
|
||||
"XRAY_VMESS_AEAD_FORCED" = "false";
|
||||
"XUI_ENABLE_FAIL2BAN" = "true";
|
||||
@@ -89,13 +89,13 @@ in
|
||||
unitConfig.Description = "Root target generated by compose2nix.";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
# timers."podman-update-3xui_app" = {
|
||||
# wantedBy = [ "timers.target" ];
|
||||
# timerConfig = {
|
||||
# OnCalendar = "weekly";
|
||||
# Persistent = true;
|
||||
# };
|
||||
# };
|
||||
timers."podman-update-3xui_app" = {
|
||||
wantedBy = [ "timers.target" ];
|
||||
timerConfig = {
|
||||
OnCalendar = "weekly";
|
||||
Persistent = true;
|
||||
};
|
||||
};
|
||||
tmpfiles.rules = [
|
||||
(xlib.helpers.mkTmpfile "d" xlib.dirs.services-mnt-folder "0755" "root" "root")
|
||||
(xlib.helpers.mkTmpfile "d" xlib.dirs.services-nodes-folder "0755" "root" "root")
|
||||
|
||||
@@ -10,6 +10,9 @@
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
port = 61208;
|
||||
extraArgs = [
|
||||
"--bind 100.64.0.0"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -10,6 +10,9 @@
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
port = 61208;
|
||||
extraArgs = [
|
||||
"--bind 100.64.1.0"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user