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

16 lines
328 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" ];
extraOptions = [ "--pull=newer" ];
};
}