Live data from Hacker News

NixOS 22.11 “Raccoon”

nixos.org

11–20 of 201 posts

Re: NixOS 22.11 “Raccoon”

#11
post #10

I might want to try some new Linux distribution so I wonder: what doesn't work in nix? What are its weaknesses? What about devices with non-free firmware?

I would expect something like Steam gaming on my dual-GPU laptop might be one deep mineshaft of "nope" on NixOS.

No, that works fine. As well as it ever does.

Re: NixOS 22.11 “Raccoon”

#13

I might want to try some new Linux distribution so I wonder: what doesn't work in nix? What are its weaknesses? What about devices with non-free firmware?

- You will have to learn both the nix language and working with nixpkgs. Learning nix is pretty trivial IMO (great resources are nix-1p[0] and Nix Pills[1]) but the documentation, while vast, is pretty shallow at the moment. You will likely have to resort to reading random blog posts, nix configs published by others and the source code of nixpkgs itself.

- As mentioned by another commenter you will not be able to run random binaries by default. You can use nix-alien[2] which will automatically fetch the required libraries and build an FHS environment for the binary.

- It is significantly more bandwidth- / rebuild-heavy. If an input for a derivation changes it will trigger a rebuild, which means either a redownload from the binary cache or a recompilation.

[0] https://github.com/tazjin/nix-1p

[1] https://nixos.org/guides/nix-pills

[2] https://github.com/thiagokokada/nix-alien

Re: NixOS 22.11 “Raccoon”

#14
post #10

Earlier quoted context omitted.

I would expect something like Steam gaming on my dual-GPU laptop might be one deep mineshaft of "nope" on NixOS.

No, that works fine. As well as it ever does.

Really? I'm curious to read more.

It works very well for me under Ubuntu these days, but if I can get it working equivalently well on NixOS I may legitimately consider switching.

Re: NixOS 22.11 “Raccoon”

#15
I haven't used NixOS directly yet myself, but I use nixpkgs regularly. It really does make my life easier, so I'm thankful for that. I've built some nixos vms with nix however, that's also pretty nifty.

Re: NixOS 22.11 “Raccoon”

#16
Is it like docker?

Anyway trying my hand on Kivy. Work for once for iOS and android undder macOS. Then never so far. Trying Gm even of macOS. No.

May be start again with this and try to install Kivy again

Re: NixOS 22.11 “Raccoon”

#17
My router (a VM with passed through network card) is currently running on NixOS, I’m really happy so far, it makes kernel patching (which in my case is required for the nic to work properly at 2500BASE-T) much easier than manually patching and building the kernel every time. It also gives me the guarantee that I will be able to rebuild the exact same host almost bit by bit in the future, in case of necessity, which is important for something like a router (I also take vm snapshots but upgrades are crucial for something potentially facing the internet and handling firewall). Looking forward to move away from proxmox to a fully NixOS virtualisation host too.

Re: NixOS 22.11 “Raccoon”

#18
post #10

I might want to try some new Linux distribution so I wonder: what doesn't work in nix? What are its weaknesses? What about devices with non-free firmware?

I would expect something like Steam gaming on my dual-GPU laptop might be one deep mineshaft of "nope" on NixOS.

If it's an Intel iGPU + an Nvidia dGPU setup beware there's a bug with the implementation of the Nvidia driver currently which breaks connecting external displays on X11 depending on your hardware. See https://github.com/NixOS/nixpkgs/issues/199024 and the comments of https://github.com/NixOS/nixpkgs/pull/165188.

Also setting Coolbits doesn't seem to work either on my end, which means no overclocking support for the Nvidia GPU (if that's something you care about).

Re: NixOS 22.11 “Raccoon”

#19
post #4
post #3

Last week I switched from my Arch VM to a NixOS 22.05 VM full-time and it has been an excellent experience so far. Looking forward to seeing and reporting back on what my first NixOS upgrade experience is like.

Having absolutely no fear going into an OS upgrade is one of the best parts of nix. If anything breaks, you can go back to your old config and be sure it’ll still work. Going back to an OS that doesn’t have this property feels like programming without version control.

Definitely up there for the top Nix benefits - truly atomic OS upgrades.

It's a shame this isn't explicitly highlighted on nixos.org, it's only implied in the "Is the previous version better? Roll back anytime."[0] section, when it's true for both packages and your entire system's config.

[0] https://nixos.org/explore.html

Re: NixOS 22.11 “Raccoon”

#20
post #6

Seems like a good time to flatten my Dell windows 11 laptop and install Nix on it. I've really loved using NixOS in various VMs but the experience is so good I want to use it full time. Any recommendations on how to best set up pre boot encryption and opt in state these days?

For pre boot encryption I used ZFS's built-in encryption, it just works.
Post reply on HN