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

14 lines
258 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-16 14:08:07 +08:00
];
ports = [ "3000:3000" ];
};
}