{...}: { # virtualisation.arion = { # projects = { # excalidraw = { # excalidraw = { # service.image = "ghcr.io/excalidraw/excalidraw:latest"; # service.volumes = [ # "/etc/localtime:/etc/localtime:ro" # "/run/dbus:/run/dbus:ro" # ]; # }; # }; # }; # }; virtualisation.oci-containers = { backend = "docker"; containers = { excalidraw = { image = "excalidraw/excalidraw:latest"; ports = ["127.0.0.1:5959:80"]; volumes = []; }; }; }; services.caddy.virtualHosts."draw.darksailor.dev".extraConfig = '' forward_auth localhost:5555 { uri /api/authz/forward-auth copy_headers Remote-User Remote-Groups Remote-Email Remote-Name } reverse_proxy localhost:5959 ''; services.authelia = { instances.darksailor = { settings = { access_control = { rules = [ { domain = "draw.darksailor.dev"; policy = "one_factor"; } ]; }; }; }; }; }