This commit is contained in:
2025-09-03 23:49:49 +03:00
parent 714050513f
commit e314026bb8
4 changed files with 58 additions and 48 deletions
+17 -7
View File
@@ -1,5 +1,10 @@
# Auto-generated using compose2nix v0.3.2-pre.
{ pkgs, lib, config, ... }:
{
pkgs,
lib,
config,
...
}:
{
# Runtime
@@ -10,11 +15,13 @@
};
# Enable container name DNS for all Podman networks.
networking.firewall.interfaces = let
matchAll = if !config.networking.nftables.enable then "podman+" else "podman*";
in {
"${matchAll}".allowedUDPPorts = [ 53 ];
};
networking.firewall.interfaces =
let
matchAll = if !config.networking.nftables.enable then "podman+" else "podman*";
in
{
"${matchAll}".allowedUDPPorts = [ 53 ];
};
virtualisation.oci-containers.backend = "podman";
@@ -48,7 +55,10 @@
# Builds
systemd.services."podman-build-3xui_app" = {
path = [ pkgs.podman pkgs.git ];
path = [
pkgs.podman
pkgs.git
];
serviceConfig = {
Type = "oneshot";
TimeoutSec = 300;