• 56 Posts
  • 247 Comments
Joined 2 years ago
cake
Cake day: July 25th, 2023

help-circle










  • Chewy@discuss.tchncs.detoLinux@lemmy.mlImmutable Distro Opinions
    link
    fedilink
    arrow-up
    12
    arrow-down
    2
    ·
    edit-2
    17 days ago

    NixOS is immutable and atomic, but it isn’t image-based.

    Immutable simply refers to how the running system configuration can’t be changed by simply putting a file somewhere (e.g. copy a binary to /bin, which is a bad idea).

    For example, Fedora Atomic and derivatives are image based, although they are more flexible than the A/B types like SteamOS.

    OpenSUSE MicroOS uses btrfs snapshots to apply updates atomically, and is more flexible than most image based immutable distros.

    Edit: But I don’t think those terms have a single definition, so how would you differentiate these terms?




  • I personally really like btrfs for my large media HDD because it makes copying large files an instantaneous operation.

    Also, it’s useful to have 6 hourly snapshots in case *arr upgrades something or anything else happens (btrbk).

    It’s not necessary almost any time, but the times I needed it a CoW FS with snapshots came in handy.

    Edit: Also, btrfs does check summing, so it’s possible to detect bit rot.




  • Yes, ~/.local/share/flatpak includes all user installed flatpaks, while /var/lib/flatpak includes all system wide installed flatpaks. Both include repository information and required runtimes (i.e. dependencies).

    This does not include user data, which is stored in ~/.var/app.

    Make sure to test your backup just in case on another system/VM.



  • I remember taking my first selfhosting/Linux steps a year or so after the launch of Let’s Encrypt with a Pi 3. At the time, most tutorials didn’t set up https at all, and if they did, they were self signed certificates (resulting in browser warnings).

    Self-signed certificates are annoying and creating them was a series of copy pasting long, weird commands, usually using long exspiration dates (manual renewing sucks).

    Not long after, guides started recommending certbot. Nowadays reverse proxys like caddy set up TLS automatically.

    At least that’s how I remember it, given my complete lack of knowledge about Linux at the time.




  • Symphonium is a great Android music player which connects to a Subsonic or Jellyfin server (or any other protocol like SMB).

    Navidrome is a music server which implements the Subsonic protocol. This means apps like Symphonium can connect to it.


    Any old PC is enough, even a Raspberry Pi is fast enough for a music server.

    1. Install Navidrome on the server/pc
    2. Configure Navidrome (open ports, add your music library/folder)
    3. Connect a subsonic-compatible music app to to the server (I.e. type in IP or domain as well as the port).

    Anything more like SSL (https) and a domain is optional for getting it working, and only a benefit if used outside of your home network. Using Tailscale makes a domain/SSL unnecessary and also no longer needs messing around with networking (e.g. no opening ports on the router).