Custom Podman image (forge.quinefoundation.com/ironmagma/vnc-desktop) running TigerVNC + noVNC + openbox, proxied via nginx with ACME TLS and basic auth. Also switches all arion projects from docker to podman backend. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
18 lines
452 B
Nix
18 lines
452 B
Nix
{ pkgs, ... }:
|
|
{
|
|
project.name = "vnc-desktop";
|
|
|
|
services.vnc = {
|
|
service = {
|
|
image = "forge.quinefoundation.com/ironmagma/vnc-desktop:latest";
|
|
container_name = "vnc-desktop";
|
|
restart = "unless-stopped";
|
|
env_file = [ "/run/agenix/vnc-password" ];
|
|
volumes = [
|
|
"/root/.ssh:/root/host-ssh:ro"
|
|
];
|
|
extra_hosts = [ "hetzner-host:host-gateway" ];
|
|
ports = [ "127.0.0.1:6080:6080" ];
|
|
};
|
|
};
|
|
}
|