chore | new version of compose2nix output
This commit is contained in:
parent
0e0a52a68b
commit
a70036bb2c
1 changed files with 10 additions and 19 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
# Auto-generated using compose2nix v0.3.1.
|
# Auto-generated by compose2nix.
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Runtime
|
# Runtime
|
||||||
|
|
@ -7,15 +7,16 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
autoPrune.enable = true;
|
autoPrune.enable = true;
|
||||||
dockerCompat = true;
|
dockerCompat = true;
|
||||||
defaultNetwork.settings = {
|
|
||||||
# Required for container networking to be able to use names.
|
|
||||||
dns_enabled = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable container name DNS for non-default Podman networks.
|
# Enable container name DNS for all Podman networks.
|
||||||
# https://github.com/NixOS/nixpkgs/issues/226365
|
networking.firewall.interfaces =
|
||||||
networking.firewall.interfaces."podman+".allowedUDPPorts = [ 53 ];
|
let
|
||||||
|
matchAll = if !config.networking.nftables.enable then "podman+" else "podman*";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
"${matchAll}".allowedUDPPorts = [ 53 ];
|
||||||
|
};
|
||||||
|
|
||||||
virtualisation.oci-containers.backend = "podman";
|
virtualisation.oci-containers.backend = "podman";
|
||||||
|
|
||||||
|
|
@ -47,16 +48,6 @@
|
||||||
requires = [ "podman-network-websites_default.service" ];
|
requires = [ "podman-network-websites_default.service" ];
|
||||||
partOf = [ "podman-compose-websites-root.target" ];
|
partOf = [ "podman-compose-websites-root.target" ];
|
||||||
wantedBy = [ "podman-compose-websites-root.target" ];
|
wantedBy = [ "podman-compose-websites-root.target" ];
|
||||||
unitConfig.RequiresMountsFor = [
|
|
||||||
"/home/don/podman/caddy/Caddyfile"
|
|
||||||
"/home/don/podman/caddy/config"
|
|
||||||
"/home/don/podman/caddy/data"
|
|
||||||
"/home/don/www/p365"
|
|
||||||
"/home/don/www/travel.donaldharper.com"
|
|
||||||
"/home/don/www/www.donaldharper.com"
|
|
||||||
"/home/don/www/www.donharper.org"
|
|
||||||
"/home/don/www/www.duckland.org"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Networks
|
# Networks
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue