Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Atemu, to linux in Comparison between NixOS vs blendOS vs Vanilla OS: what to pick and why?
@Atemu@lemmy.ml avatar

In regular FHS distros, an upgrade to libxyz can be done without an update to its dependants a, b and c. The libxyz.so is updated in-place and newly run processes of a, b and c will use the new shared object code.

In Nix’ model, changing a dependency in any way changes all of its dependants too. The package a that depends on libxyz 1.0.0 is treated as entirely different from the otherwise same package a that depends on libxyz 1.0.1 or libxyz 1.0.0 with a patch applied/new dependency/patch applied to the compiler/anything.

Nix encodes everything that could in any way influence a package’s content into that package’s “version”. That’s the hash in every Nix store path (i.e. /nix/store/5jlfqjgr34crcljr8r93kwg2rk5psj9a-bash-interactive-5.2-p15/bin/bash). The version number in the end is just there to inform humans of a path’s contents; as far as Nix is concerned, it’s just an arbitrary name string.

Therefore, any update to “core” dependencies requires a rebuild of all dependants. For very central core packages such as glibc, that means almost all packages in existence. Because those packages are “different” from the packages on your system without the update, you must download them all again and, because they have different hashes, they will be in separate paths in your Nix store.

This is what allows Nix to have parallel “installation” of any version of any package and roll back your entire config to a previous state because your entire system is treated as a “package” with the same semantics as described above.

Unless you have harsh data caps, extremely slow connections or are extremely tight on disk space, this isn’t much of a concern though.
Additionally, you can always “garbage collect” old paths that are no longer referenced and Nix can deduplicate whole files that are 1:1 the same across the whole Nix store.

Atemu, to linux in What is the best distro for gaming?
@Atemu@lemmy.ml avatar

Any distro that ships relatively recent libraries and kernels.

With the exception of Debian, RHEL, SLES and the like, pretty much everything.

Atemu, to linux in What is the easiest way to try all the DEs?
@Atemu@lemmy.ml avatar

Well, you can roll back with a switch too; no reboot required.

The VM protects you from accidental state modification however (i.e. programs enabled by some DE by default writing their config files everwhere) and its ephemeral nature makes a few things easier.

Atemu, (edited ) to linux in What is the easiest way to try all the DEs?
@Atemu@lemmy.ml avatar

Guix might also be able to do this but I don’t think the others can.

This relies on NixOS’ declarative configuration which Silverbluae and the like do not have; they are configured imperatively.

Atemu, to linux in system freezes when waking up from suspend
@Atemu@lemmy.ml avatar

Post the journal after wakeup, not before.

Atemu, to linux in What is the easiest way to try all the DEs?
@Atemu@lemmy.ml avatar

As in, build a NixOS VM that’s otherwise the exact same as your current system but with a different DE enabled. nixos-rebuild build-vm

Atemu, to linux in Amazon Building its Own Linux-Based OS to Replace Android
@Atemu@lemmy.ml avatar

TL;DR Amazon is building a Linux distro that starts a chromium to run react native apps. Apparently, you need hundreds of people for that.

Atemu, to linux in So... how to fix this?
@Atemu@lemmy.ml avatar

I’m still in the process of optimizing stuff around Linux (e.g. media drive filesystem)

What do you mean by that?

Atemu, to linux in So... how to fix this?
@Atemu@lemmy.ml avatar

From what I’ve seen, that’s a great way to corrupt your filesystem.

Atemu, to linux in So... how to fix this?
@Atemu@lemmy.ml avatar

If you’re only using this filesystem on Linux anyways, absolutely.

Atemu, to linux in So... how to fix this?
@Atemu@lemmy.ml avatar

There is none. NTFS is a filesystem you should only use if you need Windows compatibility anyways. Eventhough Linux natively supports it these days, it’s still primarily a windows filesystem.

Atemu, to linux in Filesystem mirroring: best backup tool?
@Atemu@lemmy.ml avatar

Even with btrfs “weird archives” such as Borg’s or restic’s are preferred for backups.

Atemu, (edited ) to linux in Filesystem mirroring: best backup tool?
@Atemu@lemmy.ml avatar

I dont want weird archives or anything, just to copy my filesystem to another drive.

For proper backups, you do want “weird archives” with integrity checks, versioning, deduplication and compression. Regular files cannot offer that (at least not efficiently so).

Atemu, to linux in How to package software for many distributions in their native package format?
@Atemu@lemmy.ml avatar

You don’t.

No, seriously. Let the distros package your software; they know how to do that best.

Atemu, to linux in Are older, but Linux compatible computers capable of running the newest kernel/version of various distros?
@Atemu@lemmy.ml avatar

Make sure that device doesn’t require proprietary drivers (commonly WiFi or GPU). If the hardware in question needs those and you need the component to work, I wouldn’t take it for free because you’d be stuck with shitty support on an ancient kernel.

Most commonly, thio affects broadcom WiFi and Nvidia GPUs.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #