Yeah I’ve gotten into Nix recently and it’s slowly been taking everything over bit by bit. So now I have the standalone package manager when I’m on WSL or other distros, full NixOS on a couple machines, fully reproducible LXC containers for my Proxmox build, the list goes on and on! Hell, I’ve got it on my steam deck to manage my CLI apps just because I can lol
Pretty much, yeah. At some point I remember the recommendation being having a separate /boot as well due to incompatibilities with GRUB’s save default option iirc, not sure that’s a thing anymore.
Anyway, you usually set that up during the install process, although I’m not sure graphical installers let you handcraft btrfs subvolume mount points or even select them as such these days. Last I checked at least they either just used a default layout (@ and @home with Ubuntu, for instance) or treated it as a single volume with no further options.
I’ve been here a week ago already asking if Arch would be fine for a laptop used for university, as stability is a notable factor in that and I’m already using EndeavourOS at home, but now I’m curious about something else too - what about Arch vs NixOS?...
As a recent NixOS convert coming from Bazzite (Kinoite/Silverblue with user friendly daily driver and gaming tweaks), and before that mostly Arch-based distros, I’d say it boils down to the tradeoff between having way more control over reproducibility and having to deep dive into the often poorly documented domain specific rabbit hole that is Nix. If you’re comfortable with going out of your way to learn, looking for examples, reading source code to find out what options you can use or how stuff works, it can absolutely be worth it but it’s a steep price to pay for sure.
I personally adore what Nix sets out to solve and find it extremely rewarding to learn. Plus, as a developer, I enjoy puzzling out how to get stuff done and don’t mind diving into the source if I need to, so it works for me. I’d absolutely prefer solid documentation, of course, but it’s not a deal breaker.
When it comes to software, the Nix repo has a staggering amount of prebuilt binaries ready to download (which you can search here) and it’s often not too hard to hack together your own reproducible package if you want after you get comfortable enough with it. At least for my use cases, I haven’t really missed much from my days using Arch and the AUR. If anything, I appreciate how much more consistent it tends to be in comparison.
If you, like myself, go for a flake (yet another rabbit hole within a rabbit hole) based setup and point to the unstable repo, you basically get a fully reproducible, easy to update and rollback rolling release not too dissimilar to using Arch with auto btrfs snapshots enabled. That’s how I used to do Arch and it feels pretty familiar.
Anyway, that’s what I got. If you have any more specific concerns or questions I’d be happy to elaborate!
Edit: I forgot to add but I find a nice way to get comfortable without fully commiting is using Nix as a package manager on any old distro. You could install it on Endeavour (I recommend this method) and play around with Home Manager, use it as a dotfiles manager on steroids, have it declaratively install and manage the CLI apps you can’t live without and whatnot, see how you like it. That’s how I started, I have a common HM config I’ve so far used with Debian at work, Ubuntu running under WSL when I’m on Windows and now NixOS itself.
They do have Linux and Windows versions coming and claim they’re going to gradually open source it so there’s that, but yeah, doesn’t exactly inspire that much confidence lol
Yup, I feel you. It’s something I’ve always wanted myself, and I find myself hoping the OSS alternatives eventually implement something similar. For now I just make do with things like tealdeer and whatnot.
Edit: Just stumbled upon navi, the interactivity looks a lot closer to what we want than tldr and friends at least
Since you want a just works deal, I’d go with a ublue based immutable distro, my favorite is Bazzite. You can pick between KDE and Gnome, and change between them cleanly at any point. User apps auto update in the background, your system also updates while it’s running and you only need to reboot to apply. If anything ever goes wrong, you have painless rollbacks. All that with up-to-date fedora packages and kernel.
I’ve been running it on my deck for a while now and it’s never let me down so far, really pleasant experience. It generally keeps out of your way and takes care of the chores while still allowing you to mess around if you want.
To add to this, another viable path is using Nix, the package manager, on its own. That way you can get Home Manager to manage your applications and dotfiles independently of your base system, as long as you are able to install Nix.
It’s my general workflow, run Determinate Nix Installer, install Home Manager, clone my config and I’m off to the races. Been sharing that config between Debian, Ubuntu on WSL and Bazzite for a while and it’s served me well so far.
I’m brand new to Linux, running Mint on an old laptop to get a few more years out of it. I can install things via CLI, but I prefer GUI if available....
Others have brought up open source solutions already so on a different note I’ll say I’ve used the (closed source and paid) Insync client successfully in the past, and it worked fine. An interesting bonus is you can have it on both Windows and Linux pointing to the same set of files if you dual boot and it’s supposed to work just fine.
I’ve been using it for several months by now, I keep everything synced with Syncthing and it’s been working really well. Android app is still rough around the edges but it does work alright.
My understanding is it was developed as an answer to Roam Research specifically, and while its model might not work for everyone, I love it.
nix allows for flakes which are 100% reproducible (ie. you copy paste a flake it would do the intended stuff only) , this make me realize that now we can have flakes for games like do you want inscryption , sure add this flake and this would install all dependencies and lutris etc. and you just have to link us to the...
That’s a great idea, I’d absolutely love it myself. Something like adding a flake input and it giving you an overlay with reproducible packages for a lot of games, I suppose. Not sure about feasibility but it sure sounds enticing!
Your average user probably wouldn’t be too thrilled about it, but I’m sure Nix nerds would be all over it lol.
My biggest blog post yet, and it’s about running (almost) vanilla NixOS on a (formerly) Android phone! This was 50% fun and 50% exhausting… you solve one issue and another one crops up right away… it was certainly an interesting educational experience....
That was one of the most unhinged rabbit holes I’ve been to in a hot second, and I absolutely mean that in the best of ways. Well done and congrats on getting there after everything was said and done!
I’ve been meaning to experiment with mobile NixOS myself but it’s all but impossible to get my hands on a supported device around here. Then again, maybe fumbling around and trying to get it to work at all on an old phone might be fun 🤔
I like the idea of nixOS and will definitely try it in the future to see how portable I can make the setup be (hopefully a couple of files that can configure the entire machine)....
My understanding as a NixOS user is a lot of its fundamentals are very strongly coupled to systemd. It’s responsible for things like running system activation scripts and managing any services it exposes options to, so replacing it sounds like a tall order.
I’m not aware of any Nix-based alternatives, but I’d definitely welcome them! Oh and also, as others have pointed out, Guix might fit the bill depending on your needs.
I can see why it’d be divisive with topre keys, no key markings and a pretty non standard layout but man does it look nice. Really appreciate what they’re going for there.
Anyway, thanks and hope you find a solution, I’ll drop by if I come across anything useful!
My situation is remarkably similar to yours down to the language, and I happen to have been considering a US keyboard as well so that’s disheartening to hear. I have nothing to add right now but will let you know if I come across anything helpful!
Right, that all makes sense. I’ll definitely keep that .XCompose file in mind, wasn’t aware it even was a thing before your post. Also, do you mind sharing the specific keyboard you’re using for reference?
Side note, I’ve started using vim/helix a few months ago and the pt layout makes things a lot more awkward than I expected, that’s half the reason I’m considering a US keyboard lol
Perfect, thanks! They all look potentially fun one way or another tbh, I’ll try and check them all out.
Actually seeing the titles now, I remember the last one threw mods in at least some other instance for a loop. Kinda feels like that time the best bathing scenes of the year post or something got r/anime banned from r/all back on reddit lol.
You and me both haha. It’s been a good few years but here’s a link with more info if you’re curious, pretty amusing story. I used to be pretty active back when it happened so I remember it well.
Damn, I didn’t think to include SMR drives when it comes to bcachefs. Your whole comment made me appreciate the whole concept under a whole new light actually, thanks!
What's your current favorite distro that isn't Arch, Debian or Fedora?
I’m wondering what the current favorite distros are besides the most popular ones like Arch, Debian and Fedora.
What's with all these hip filesystems and how are they different?
You know, ZFS, ButterFS (btrfs…its actually “better” right?), and I’m sure more....
Arch or NixOS?
I’ve been here a week ago already asking if Arch would be fine for a laptop used for university, as stability is a notable factor in that and I’m already using EndeavourOS at home, but now I’m curious about something else too - what about Arch vs NixOS?...
An open-source, cross-platform terminal for seamless workflows (waveterm.dev)
Render anything inline. Save sessions and history. Powered by open web standards....
Thinking about making the big switch – recommend me a distro!
Hey all, I’ve been thinking about making the jump from Windows to Linux as my daily-driver and I’ve been struggling on what distro to use....
Package up and transport a linux?
I have a simple wish, with a probably not so simple solution....
Tachiyomi replacement is out (github.com)
NixOS 23.11 released (nixos.org)
Suggestions for consumer cloud syncing on Linux?
I’m brand new to Linux, running Mint on an old laptop to get a few more years out of it. I can install things via CLI, but I prefer GUI if available....
Anytype as an alternative to Notion or Obsidian
Stumbled on this program called Anytype a while ago, a note-taking application similar to Notion. It’s surprisingly well polished and works for me....
can nix for gaming pirates lead to easy piracy
nix allows for flakes which are 100% reproducible (ie. you copy paste a flake it would do the intended stuff only) , this make me realize that now we can have flakes for games like do you want inscryption , sure add this flake and this would install all dependencies and lutris etc. and you just have to link us to the...
NixOS on OnePlus 6 with Extra Steps, or the Diary of my Descent into Madness (pavluk.org)
My biggest blog post yet, and it’s about running (almost) vanilla NixOS on a (formerly) Android phone! This was 50% fun and 50% exhausting… you solve one issue and another one crops up right away… it was certainly an interesting educational experience....
What are your thoughts on a possible NixOS without systemd?
I like the idea of nixOS and will definitely try it in the future to see how portable I can make the setup be (hopefully a couple of files that can configure the entire machine)....
[SOLVED] How to customize dead keys under Wayland / Electron apps?
EDIT: Solved! Check this comment!...
18+ BDSM Anime, just what we need (shota.nu)
Bcachefs Lands Another Round Of Fixes For Linux 6.7 (www.phoronix.com)