apiVersion: apps/v1
kind: Deployment
metadata:
  name: firefox
spec:
  template:
    spec:
      initContainers:
      - name: wait-proxy
        image: busybox
        command: ["sh", "-c", "nc -z windows.windows 1080"]
      containers:
      - name: firefox
        volumeMounts:
        - mountPath: /etc/firefox-flake/home.nix
          subPath: home.nix
          name: nix-home-configuration
      volumes:
      - name: nix-home-configuration
        configMap:
          name: nix-home-configuration
