[–] 3 points 2 years ago

If the package you're using stays up to date and doesn't require much setup, you could plug a dockerTools.buildLayeredImage into the imageFile attribute. The name and the tag in the built image should match what's in the image attribute. An example (busybox is only included for debugging):

        image = "my-calibre-web:latest";
        imageFile = pkgs.dockerTools.buildLayeredImage {
          name = "my-calibre-web";
          tag = "latest";
          contents = [ pkgs.busybox ];
          config.Cmd = [
            "${pkgs.calibre-web}/bin/calibre-web"
            "-p"
            "/config/app.db"
            "-g"
            "/config/gdrive.db"
            "-i"
            "0.0.0.0"
          ];
        };
  • source
  • [–] 5 points 2 years ago

    Having 3 or more identities often causes authentication to fail before it gets around to trying password authentication (or even all the possible keys). Recommend configuring the client to turn off PubkeyAuthentication by default (so that hosts that you don't have a key for will prompt for a password) and specify which key to use on the appropriate hosts using IdentityFile (might need to specifically turn PubkeyAuthentication back on, I don't remember how openssh handles having a default host block with specific host blocks)

  • source
  • parent
  • context
  • [–] 5 points 3 years ago (1 child)

    NetworkManager (network interface/connection management)

    Pretty sure you mean systemd-networkd here. I find systemd-networkd to be very nice for headless systems, but NetworkManager seems to be a better fit for desktops because of the integrations it has available with KDE/Gnome/system tray

  • source
  • parent
  • context
  • view more: next ›