25 lines
413 B
Nix
25 lines
413 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
|
|
containers.surrealdb = {
|
|
privateNetwork = false;
|
|
autoStart = true;
|
|
|
|
config = { config, lib, ... }: {
|
|
nixpkgs.pkgs = pkgs;
|
|
imports = [ ../../components/monitor/container.nix ];
|
|
system.stateVersion = "24.05";
|
|
|
|
# Photoprism
|
|
# ----------
|
|
services.surrealdb = {
|
|
enable = true;
|
|
host = "0.0.0.0";
|
|
};
|
|
|
|
};
|
|
};
|
|
|
|
|
|
}
|