mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
123
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
{
|
||||
services = {
|
||||
immich = {
|
||||
package = inputs.self.packages.x86_64-linux.immich;
|
||||
#package = inputs.self.packages.x86_64-linux.immich;
|
||||
enable = true;
|
||||
port = 2283;
|
||||
host = "0.0.0.0";
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user