• 0 Posts
  • 21 Comments
Joined 1 year ago
cake
Cake day: June 18th, 2023

help-circle
  • 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"
              ];
            };
    



  • 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)








  • cdombroskitoLinux@lemmy.ml...
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    Typically xdg-ninja will tell you how to set things up so as many dot files and directories as possible end up in the correct xdg location instead of cluttering up the top level of your home directory.



  • cdombroskitoLinux@lemmy.mlWhat exactly does systemd do?
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    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