1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-03-13 16:03:25 +00:00
This commit is contained in:
Rae 5e 2025-03-07 18:18:11 -05:00
parent 72616a26ff
commit 15ba5fb4e8
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE

View file

@ -37,12 +37,12 @@ in with lib; {
};
networking.firewall = mkIf cfg.openFirewall {
allowedTCPPorts = [ builtins.toString cfg.listenPort ];
allowedTCPPorts = [ cfg.listenPort ];
};
virtualisation.oci-containers.containers.homepage = {
ports = [ (builtins.toString cfg.listenPort + ":3000/tcp") ];
volumes = mkIf cfg.imagesDir [ (builtins.toString cfg.imagesDir + ":/app/public/images:rw") ];
volumes = mkIf (cfg.imagesDir != null) [ (builtins.toString cfg.imagesDir + ":/app/public/images:rw") ];
};
}
];