dotfiles.nix/nixos/lavender/containers/homepage/default.nix
2023-05-24 23:01:22 +08:00

15 lines
289 B
Nix

{ ... }:
{
# Homepage
virtualisation.oci-containers.containers."homepage" = {
autoStart = true;
image = "ghcr.io/benphelps/homepage:latest";
volumes = [
"/srv/containers/homepage:/app/config"
"/srv/data:/srv/data:ro"
];
ports = [ "3000:3000" ];
};
}