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

help-circle


  • Veraticus@lib.lgbttoLinux@lemmy.mlWho does flatpak/snap benefit?
    link
    fedilink
    English
    arrow-up
    50
    arrow-down
    4
    ·
    edit-2
    10 months ago

    It benefits the end-user.

    People do not want to be in dependency resolution hell; where they have three programs that all use different versions of libssl and require them to install all of them properly and point each application to the correct one. Most users have no ability to resolve problems like that. By not bundling, the application developer is forcing them to either try anyway or just not install their software.

    Bundling dependencies with Flatpak or Snap helps the end user at the cost of only a few extra megabytes of space, which most users have in abundance anyway.












  • You’ve basically identified the advantages and disadvantages of Nix properly.

    When you learn Nix and how it works, it is incredibly powerful. Being able to version your entire OS with one configuration is incredible. Old software that messes things up just doesn’t exist. It’s easy to explore new software, configurations, and upgrades and roll back to your old state seamlessly. No more “well I deleted an environment variable and now my performance is 50% worse and I don’t even remember what that environment variable was named or where it should live.” With Nix, you can switch from i3 to Hyprland, try it out for a day, and then switch back to your old configuration seamlessly and easily.

    The disadvantages are that you need to know Nix (the programming language and configuration file syntax) to do it, and they are complicated. Worth it in my opinion but it’s not easy.

    Every other distro is basically different from Nix because of this, as you will be configuring them manually to a greater or lesser extent. I find that manual configuration to be annoying and I always had to create tools to help version my configs properly before Nix. But it is certainly easier to do since you just have to understand the software you’re installing and how to configure it. In Nix, you have to understand both that, and Nix.

    I think it’s totally worth it. But only you can make that call for you.




  • Veraticus@lib.lgbttoSelfhosted@lemmy.worldSynology vs DIY
    link
    fedilink
    English
    arrow-up
    32
    ·
    1 year ago

    I do infrastructure stuff professionally and wanted to not manage that at home so just went for a Synology.

    Just depends on how DIY you wanna go. I’ve had my Synology for years and it’s needed zero ongoing maintenance and has never had any problems so I’m pretty satisfied with it.


  • Veraticus@lib.lgbttoLinux@lemmy.mlNixOS musings
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    1 year ago

    Most derivations are pretty flexible; the ones that aren’t, however, will require you to write your own overlay to fix them. Or just fork them entirely. This is one of the advantages in Nix in that you can create reproducibility at any granularity. Writing and using your own derivation is complex though. Most packages provide more than enough knobs to change their configuration on their own in my experience though — my current Nix build uses no derivations I had to write myself.

    Home Manager and Nix itself are versioned so I don’t understand your complaint about config changing. If you’re happy with how your system works just don’t update it to a newer version. If you do, as in any other software, you risk breakage. The advantage of Nix in this scenario obviously is that rolling back in the case of an upgrade going wrong is incredibly trivial.