Remix.run Logo
▲ grep_name a day ago

I used nixOS for about two years and then migrated off. I kept running into issues caused by it not implementing the FHS but also found the tools for working around that (nix-ld, steam-run, 'just write a custom flake for it') to be really lacking and a huge pain. Over the years, the list of things I couldn't do without enormous effort grew too large and I switched back to slackware, where it feels great to just be able to drop a release in /usr/local/bin or run an appimage (appimages in particular were a nightmare for me on nixos, which surprised me as I thought they were supposed to have all their dependencies included but still ran into dynamic linking issues everywhere.) I also never wanted to use home-manager; because of work I have a hybrid dotfile system that works on both mac and linux and being able to port configs via a simple script to systems on whatever os (except windows I guess) is important to me, and I also never felt like the home-manager setup was more elegant or useable than just a symlinked ~/.config dir.

If I gave guix a spin, would I run into these same exact issues do you think? (Incidently separately from all this I do love gnu guile and lisps in general)

▲katdork a day ago | parent [-]

`appimage-run` has never not worked for appimages for me on NixOS unless it was like, unity. i'm also more than happy to set up fhsenvs myself ><

but like... guix still is a little high effort to package things for (though it has guix import or whatever to try auto-generating a package from a supported upstream, e.g. a crate or something).

you can, however, in both guix and nix, have escape hatches (flatpak, appimage, chroots).

https://guix.gnu.org/manual/1.5.0/en/guix.html#:~:text=Data%... guix supports stow-like or "dotfiles" repository like configurations in guix home pretty kindly. with macos, nix-darwin + home-manager was suitable enough for me although a little jank... guix home doesn't concern itself with macos, but you could probably use the exact same dots between them using the aformentioned link

most of the reason one would even use home-manager to begin with is using modules for one's programs (at which point nix becomes something you can't do away with because all of your things are caught up in it) at the cost of indirection (having to read both the underlying program's manual AND the home-manager/nixos module)

guix has less modules and where it does have modules they're more conservative about changes and slower to change

you would be likely to run into the same issues, the question is whether or not you would want to take the easier ways out instead of committing wholeheartedly to purity...? (plus, to begin with, proprietary software means having to figure out guix channels and nonguix! your wireless drivers, nvidia graphics drivers, ...)

i've been pretty committed to the guile stuff to the extent of trying out and contributing to https://codeberg.org/ebeem/gliver as of late but from NixOS, until i move fully to guix :p

▲grep_name 21 hours ago | parent [-]

hmm ah well. I may play with guix more in a VM or something to see what it's like as an exercise, but it sounds like it's not for me. At this point, I think I've found that truly first-class FHS support is a critical feature of a functioning OS for me.

> `appimage-run` has never not worked for appimages for me on NixOS unless it was like, unity

I'm very happy for you, this was absolutely not my experience. I had irreconcilable issues happen over and over again with appimages for me. The straw that broke the camel's back was slippi, which I really wanted to play, but required an external dependency on a very specific version of curl which broke everything, despite being an appimage. appimage-run did not work for this, nor any of the other usual tools, and I ended up having to painstakingly extract the dependencies one-by-one to build a very fragile and fairly complex flake that needed ongoing maintenance just to run the software. I don't want to ever have to do that again. Chroots as a fix are an approach I haven't heard of, you're saying just support FHS standards in a different environment and run commands from it? When I think about using a chroot with a separate ecosystem that has dynamic linking working the way almost all software expects I just think, well what's the point of not just having the OS work that way in the first place?

> you would be likely to run into the same issues, the question is whether or not you would want to take the easier ways out instead of committing wholeheartedly to purity...? (plus, to begin with, proprietary software means having to figure out guix channels and nonguix! your wireless drivers, nvidia graphics drivers, ...)

I'm having trouble parsing this, but not sure where purity comes into it? I just want to be able to run pretty much any software I encounter no matter how it's packaged or provided and nix made it really hard to do that. The one time I did configure guix, adding the nonguix channel took about a minute and I didn't really have to think about it again after that?

▲katdork 19 hours ago | parent [-]

wrt chroots: when one daily drives other weird distributions (e.g. one with musl libc, consider Alpine an example here) way back when one gets used to the escape hatch of having a glibc (let's say Arch Linux) system to chroot into if one wants to do things like play games (at least, this was the case prior to flatpaks being the norm, which are just glorified chroots in a way).

it doesn't necessarily mean that you think the advantages of the system aren't worthwhile as-is, it just means that sometimes the encumbrance prevents you from doing what you want so you work around it as opposed to large time investments that would prevent you from doing what you want to do?

but i don't necessarily advocate for escape hatches in this regard, then again it's my time i'm wasting by having to package things :D:

wrt purity: there's a tendency amongst nixos users to avoid escape hatches and to use their flake as a single source of truth, which the escape hatches typically break.

wrt configuring guix: i'm glad it was an easy onboarding that one time o: