There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

linux

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

ForbiddenRoot , in Emacs 29.1 released

Someday I want to teach myself emacs so that I can get rid of rest of the operating system.

ox0r ,
@ox0r@jlai.lu avatar

Dooo iiiiit

jsnc ,

EXWM is a literal emacs graphical desktop, its insane in the best way possible.

dino , in I switched from Nixos to void Linux. Here's my experience so far.

Very reasonable and insightful write up. Thanks for sharing!

7ai OP ,

Thank you!

barryamelton , in pine64

I have a pinephone (not pro) collecting dust, because it’s nowhere near as usable for anything, sadly. But I look forward to linux on phones. I recommend a OnePlus 6 with your choice of linux on phones to be honest.

vrighter , in Appimages, snaps and flatpaks

none of them. I don’t like the idea of putting security updates in the hands of the developers of each individual application I use.

Oh your app only works with an old broken insecure version of the library? Fuck you then, you can’t just decide to install and use the insecure version.

dino ,

Interesting idea, didn’t think about this before. Still you could argue because of the sandboxed nature, those outdated libraries should’nt be much of a problem?

vrighter ,

sandboxing protects apps from each other. If there’s a bug in some library that somehow leaks some security keys or something, sandboxing doesn’t help.

dino ,

“leaks security keys of the app itself”, it can’t leak anything outside of the container?

vrighter ,

example, suppose there was a bug in openssl’s prime number generation code. It will generate insecure keys.

No amount of sandboxing can help with that. The bug is discovered and the next day I run ‘pacman -Syu’ (I use arch, btw) and the problem is gone systemwide, except for any flatpaks or appimages etc. Those will only get updates (and stop leaking my data) if and only if its maintainer actually gives a fuck, is still alive and active. If not, you’re sol

dino ,

I am very certain the most appropriate person to update the software would be the developer itself. So when suddenly for flatpaks & co the responsibility of updating libraries is put on the flatpak package maintainer for ANYTHING used in that container… it doesn’t sound optimal.

Still your example is a very edge-case scenario, because it would create a static vulnerability.

vrighter ,

Containers are a form of static linking. just because they are different files inside the image, doesn’t mean they’re not effectively statically linked, if they can only be upgraded together

If I update my shared libraries, that application uses its own ‘statically linked’ libraries and doesn’t pick up the changes. Exactly like what happens with a normal statically linked binary.

I avoid static linking like the plague.

dino ,

ELI5?

Lettuceeatlettuce , in Appimages, snaps and flatpaks
@Lettuceeatlettuce@lemmy.ml avatar

Flatpaks are quickly becoming my favorite. I’ve rarely had issues with App Images, but they are clunky and messy. Flatpaks are where it’s at IMO.

Snaps are pewpy.

kingmongoose7877 ,
@kingmongoose7877@lemmy.ml avatar

I’ve rarely had issues with App Images, but they are clunky and messy.

How so?

Lettuceeatlettuce ,
@Lettuceeatlettuce@lemmy.ml avatar

You have to use a separate application to manage them, otherwise they act as portable .exe files in windows, just laying around in a folder you have to manually link to or navigate to to run. You have to set them as executable manually otherwise you can’t run them in certain distros, or they force you to click through the prompt. They aren’t listed in the general packages installed on your system.

They are often bulky in size, and depending on the distro and software, sometimes they don’t work properly. And again, without independent management software, they have to be manually updated independently.

They aren’t bad, they just arent as good as other options IMO. I like App Images for random small programs, or some games too, they aren’t a problem. But for large programs I want to use frequently, they are just less convenient.

r0b0 , in Systemd 254 - now with soft-reboot

Also:

When the system hibernates, information about the device and offset used is now written to a non-volatile EFI variable. On next boot the system will attempt to resume from the location indicated in this EFI variable. This should make hibernation a lot more robust, while requiring no manual configuration of the resume location.

norawibb , in I switched from Nixos to void Linux. Here's my experience so far.
@norawibb@sh.itjust.works avatar

That is so the opposite experience for me. Every other distro for me just ends up weird after using it too long and I get the symptoms you mentioned. Nixos always stays perfectly clean for me like I never touched it. My hardware (long story) does change my experience a little though.

7ai OP ,

Yeah there’s a lot of state accumulation especially in home folder which I clear manually from time to time.

In Nixos you can configure the impermanence module to clear unwanted state on your system and make it a “fresh install” on every reboot.

vividspecter , in Emacs 29.1 released

First release to have the pgtk port, which means native Wayland.

kebabslob ,

Hasn’t pgtk been an option for compile for a while? Been using it at least half a year or longer

vividspecter ,

Yes, but not in a stable version. Although I’ll say that the daemon is still bugged for me with pgtk, but it could be a distribution issue.

nieceandtows , in I switched from Nixos to void Linux. Here's my experience so far.

I’ve been experiencing a total system crash/hang due to Firefox or steam on endeavour OS. Never had such issues on nobara. Any idea why?

lloram239 ,

When you have full system crashes there is a very high chance it’s the graphics drivers, journalctl -b -1 might show some information why it crashes, as it’s often just the graphics output that freezes, not the rest of the system.

Another common form of crashing is just running out of memory. Linux still handles that not well at all and will just freeze for a long long long time (SysRq-F will invoke the OOM killer, which can often help and speed up the process dramatically, there are other workaround like earlyoom).

p3tricor , in Is it really that bad?

I love this. Almost as much as using runit as my init system

greyscale ,
@greyscale@lemmy.sdf.org avatar

Absolute bravery. Though I use runit for booting multiple things inside a docker container because fuck all that multi container lark just to get nginx and a php and a node going.

mrh , (edited ) in I switched from Nixos to void Linux. Here's my experience so far.
@mrh@mander.xyz avatar

edit: I do feel norawibb’s point, the slippery mutability of Void is something I am a lot less comfortable with than I used to be. Apparently Guix has spoiled me.

7ai OP , (edited )

🎉 Same! I’ve been looking at Ashos (meta distribution) or just using btrfs snapshots to rollback when I break something.

mrh ,
@mrh@mander.xyz avatar

Yeah rollbacks are probably the best part of immutable OS’s, but of almost equal importance is reproducible system configuration, which imo only Nix and Guix do well. Neither snapshots nor Silverblue really manage that yet.

7ai OP ,

Yeah. For reproducibility I still use nix. Especially when I have to share my dev environment with a team or to spin up identical servers.

dino ,

Can you give an example in what kind of scenario you would want “identical servers”? In my head that is where tools like ansible come into play…?

7ai OP ,

You can achieve similar results with ansible. But I like nix better. It is reproducible. You can think of it like docker.

Nix is also declarative and has rollback. Also, nixos-rebuild is idempotent.

Chewy7324 ,

The great thing about Nix is that it achieves reproducibility with the package manager. Container and Ansible depend on taking a system and documenting steps to bring it to the desired state. This state then might deviate over time (e.g. crashing while updating).

But yes, for most practical use it probably doesn’t make much of a difference. For me Nix forces me to document what I’m doing, which I might not do for “quick and simple change” on other systems.

Andy ,
@Andy@programming.dev avatar

For reproducible configuration in the Arch world, there’s a project which always looks good to me: aconfmgr

github.com/CyberShadow/aconfmgr

I think Arch+aconfmgr+yadm+btrfs == a pretty solid arrangement.

Though I’m of course itching for first class Bcachefs support…

Chewy7324 ,

My problem with snapshots is that sometimes I break something and notice it way later. This accumulated state at one point breaks something (i.e. I break something). With NixOS I’m forced to do things right, which is also annoying and time consuming.

7ai OP ,

That’s right. I just rely on intuition to create a snapshot just before I think some operation will potentially break the system. (Along with daily snapshots)

It’s definitely not as bulletproof and transparent as Nixos. You can see what has changed by doing a diff :)

dino ,

Cool that you mention also the other contender OS in that regard. Interestingly you both chose Void as your comparison…I would be curious to why? @7ai

7ai OP ,

I just wanted something lightweight and fast. It was between alpine (gentoo based), void and artix (arch based). I decided to go for void because it’s new and an independent distro. I’ll try the other two some day.

dino ,

I sense a dislike for systemd. :D Actually didn’t know alpine is gentoo based. Thanks for your insight.

Atemu ,
@Atemu@lemmy.ml avatar

It is not. Alpine is independant and uses a ports-like packaging system.

dino ,

ports as in BSD?

Atemu ,
@Atemu@lemmy.ml avatar

Yes.

7ai OP ,

I was just going off based on its history. It began based on gentoo. (Wikipedia) but yea it is independent now.

al177 , in Easiest way to make a custom distro?

It’s easy to make a Debian or Ubuntu preseed ISO with whatever customization you like.

rev , in The Cloud Native Linux Desktop Model (e.g. Silverblue)

saw cloud based and thought plan9

mrh OP ,
@mrh@mander.xyz avatar

I don’t think it’s a coincidence that cloud tech, container tech, Go, and Plan 9 tend to overlap conceptually and demographically.

Xylight , (edited ) in I switched from Nixos to void Linux. Here's my experience so far.
@Xylight@lemmy.xylight.dev avatar

Really? In my experience NixOS is faster than Arch.

edit: this isn’t arguing against him, i’ve heard lots of cases where Arch is indeed faster. For me though, I feel like nixos is faster for my use cases.

7ai OP ,

You mean in terms of how fast it feels? I have never heard anyone saying this before. Can you share some details and perhaps some tips to improve performance on Nixos?

What hardware do you run Nixos on and do you modify and rebuild a lot of packages on nixpkgs?

Neil ,
@Neil@lemmy.ml avatar

deleted_by_author

  • Loading...
  • Xylight ,
    @Xylight@lemmy.xylight.dev avatar

    Wat? I wasn’t attacking him, I was telling my experience.

    LeFantome ,

    He is assuming that you are trying to win an argument and seeing your strategic approach to doing so. It is kind of implied that you want to win the argument without having to defend your position or even be right.

    I did not get that from your comment. It felt like you were more genuinely surprised to see others relating experiences you have not had. I have left very similar comments myself.

    It sucks that the Internet makes us instantly distrust each other.

    Fubarberry , in I switched from Nixos to void Linux. Here's my experience so far.
    @Fubarberry@sopuli.xyz avatar

    I know you haven’t used it for 4 years, but how would you compare arch to Nix and Void?

    I’m asking because I’m using an arch based distro, but I’ve been eyeing both nix and void and wondering if they’re worth trying.

    7ai OP ,

    Arch and void are very similar except void has a smaller community and much smaller set of packages to install. Arch also has better documentation.

    Void is considered more lightweight because it uses runit instead of systemd and a choice to use musl instead of glibc.

    I feel for most, arch is a better choice of the three.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines