dotfiles.nix/nixos/lavender/containers/homepage/default.nix

15 lines
289 B
Nix
Raw Normal View History

2023-05-16 14:08:07 +08:00
{ ... }:
{
# Homepage
virtualisation.oci-containers.containers."homepage" = {
autoStart = true;
image = "ghcr.io/benphelps/homepage:latest";
volumes = [
"/srv/containers/homepage:/app/config"
2023-05-24 23:01:22 +08:00
"/srv/data:/srv/data:ro"
2023-05-16 14:08:07 +08:00
];
ports = [ "3000:3000" ];
};
}