9 ms·
Guix: Unifying provisioning, deployment, and management in the age of containers
- dangom 5y agoIs anyone there using Guix as a daily driver? Is it stable? Would love to hear some user experiences.
- R0b0t1 5y agoUsually with esoteric distros you run into problems with binary packages and packages based on uncommonly used languages. It'll probably work as a daily driver if you mainly live in a web browser and don't do GPGPU/games/new languages/etc. If you don't mind building from source you can even do most of those. For what it's worth the project seems very well structured and the contributors very competent and motivated. I am tracking the project.
- milkey_mouse 5y ago> if you mainly live in a web browser and don't do GPGPU For what it's worth, I use Guix and I've been able to do everything but CUDA just fine. (CUDA will never be supported in Guix as it requires proprietary drivers to function.) There are opencl packages, for example. It works well enough to run an Ethereum miner, Blender, and even games in WINE. I've been meaning to package AMD ROCm for better GPU compute support.
- jhgorrell 5y agoI, for one, would be happy to see that package. Took a try at it awhile back and found it rather bumpy.
- supportlocal4h 5y agoOne of the issues I've run into with Nix was lack of OpenGL. Does Guix have similar issues?
- neonfuz 5y agoNix has OpenGL it just doesn't know how to find the driver on non NixOS distros by default, can fix it with this: https://github.com/guibou/nixGL https://github.com/guibou/nixGL
- nitia 5y agoI do. See also #guix and #nonguix on libera
- eointierney 5y agoI oscillate back and forth between guix and nix. They both do the same thing really well. Nix is more mature, has some amazing capabilities, and is kinda annoying in spots such as documentation. I end up browsing users' repos for both. Guix is more elegant in ways such as guile versus nix the dsl, although the haskell underpinning of nix is very useful. If you're a linux user willing to put in the time and play around then both are perfectly usable as daily drivers but they're both learning experiences as well. Hard to say which will win out, probably both, with excellent interoperability. They really are the future of os managment, they simplify abstractions of state and naming
- yawaramin 5y ago> although the haskell underpinning of nix is very useful. I thought Nix was written in C++?
- e3bc54b2 5y agoNix itself is written in C++, but Nix the language borrows multiple characteristics from Haskell. Nix community and Haskell community are also very comfortable and comingled with each other and Nix is one of the recommended ways to manage Haskell project dependencies.
- momentoftop 5y agoHaskell and the Nix language are both pure and lazy extensions of lambda calculus, but that's an enormous language space, and Nix's lack of static types makes them pretty distant. For many Haskellers, I believe the interest stems from how Haskell's "cabal-install" (its closest equivalent to pip, cargo etc) used to be pretty broken. There wasn't universal interest in fixing this, with some insisting that installing dependencies is the job of your distro's package manager, not your language's ecosystem. Gentoo did an okay job at having coverage of Haskell dependencies, but Nix was the clear leader ever since they could auto-import the hackage database. It's for this sole reason that I moved from Gentoo to Nix. This pipeline I came through doesn't really exist now, because the Haskell community has endorsed Stackage, and cabal has fixed its core problems by copying the nix solution.
- snicker7 5y agoI use it as a package manager on another distro (in my case, popos; that's how a lot of people use it afaik). Considering using it as a VM. It works quite well as a supplementary package manager, but has glaring deficiencies with some languages / build systems (gradle, npm, Julia, etc.)
- thinkyfish 5y agoI honestly believe that Guix will eventually pull out ahead of NixOS, simply because its going to be part of Debian 11. NixOS is a bit easier to set up and use for now, especially for provisioning simple linux servers around commonly used packages.
- gautamcgoel 5y agoCan you elaborate on this? Are you saying vanilla Debian will use Guix?
- thinkyfish 5y agoI heard somewhere that they are going to include it in the distro, so no guix deploy afaik, just the package manager itself as a package you can install. This should bring a lot more attention to the project at least.
- inciampati 5y agoGuix is now in debian and apt-installable in ubuntu 21.04. Installation was the biggest hurdle, and there are still some quirks even with the debian installation--- you've got to set up your shell environment correctly to use it--- but in general it's super easy.
- nitia 5y agoIm not sure. Ive switched from nixos to guix, and i think nix's main advantage is just "a **tonne of code" for a wide variety of services, but guix allows new services and things much easier imo
- cedricgle 5y agoGuix use Scheme/Guile. It's way saner that the Nix custom language. The biggest pro/cons is that they are flexible dynamic languages. So when you define your deployment, you need to code very defensively because no type system will support you and find mistakes.
- takeda 5y agoThere's a lot of bashing of Nix language, but frankly I don't think Nix really is a problem. The language is fairly simple. What might throw people off is that it is functional (which applies to Scheme/Guile as well). I think the biggest problem of Nix is that the area it covers is so vast and because of that it is suffering from not having enough people working on it, which also affects the quality of the documentation. I don't know where Guix is in this area. Regarding the language being dynamic, I recently found that there's work on making a typed language: https://github.com/tweag/nickel https://github.com/tweag/nickel Perhaps it can solve this problem.
- sneak 5y agoI program in a half-dozen common languages and read ten more, and have been doing so for decades and the Nix DSL still confuses me. I would not say it is fairly simple. Perhaps this will change with more doc reading, but it is anything but intuitive (coming from a C, Perl, Java, JS, PHP, Python, Go, et c background).
- jorams 5y agoI'm not familiar with the Nix language, but GP said: > What might throw people off is that it is functional None of the languages you list are functional, so that could still explain it.
- sneak 5y agoFor me it's an issue primarily with syntax; I am aware of FP concepts and can recognize and understand their use. I'm still sort of confused why it needed its own DSL and couldn't have just reused an existing language.
- ssivark 5y agoPractical questions: I’d love to try this out for my personal desktop/laptop, but I’ve been really pampered by the Arch repositories. What is the extent of completeness in supporting practically important daily use software? Are there parallel repositories supporting the non-libre packages that one might occasionally need? Is there an easy way to construct Guix recipes from another Linux system — say Debian, or Fedora or Arch?
- roptat 5y agoThe main guix "channel" (that's what it's called) contains more than 17.000 packages. Some software is hard to package, but I can't think of anything that's missing from the repository. You can have a look at the list of packages at https://guix.gnu.org/en/packages/ https://guix.gnu.org/en/packages/ (note that firefox for instance is called icecat and based on the ESR version). There are no other official channels, but a bunch of people have their own channels with additional packages. The most popular is probably nonguix (https://gitlab.com/nonguix/nonguix https://gitlab.com/nonguix/nonguix) which provides some popular nonfree packages. Creating a recipe is generally easy (it's just a bunch of metadata) and even easier if it's supported by one of the importers (python, perl, emacs, ...). You can use guix on any other Linux system if you're not ready to install the complete system. The only difference is that your system is not managed by guix, and you can't run "guix system reconfigure", but the experience is otherwise the same. Make sure to follow the additional steps from the manual.
- ssivark 5y agoThanks; great to hear about the 17k packages and the "nonguix" channel!
- e3bc54b2 5y agoGuix is pretty cool, and I'll probably switch to it one day. But as of now, it lacks some basic stuff like KDE suit. The nonguix channel AFAIK doesn't have binary builds so you'll be building quite a few packages yourself. Using nonguix also means you can't expect support in official support channels. Just something to know before you start.
- mtreis86 5y agoHow is Guix pronounced? Gicks or g-u-i-x or gooey-x?
- icot 5y ago"geeks" -> https://guix.gnu.org/manual/en/html_node/Introduction.html#DOCF1 https://guix.gnu.org/manual/en/html_node/Introduction.html#D...
- deleted 5y ago[deleted]
- nickik 5y agoI have been wanting to try this for years, the idea of being able to easily move my complete daily machine to a new laptop sound pretty interesting. What the best guide or documentation if that would be a my goal?
- tremon 5y agoIf you're new to Guix, you probably want to start with the Guix Cookbook: https://guix.gnu.org/en/blog/tags/cookbook/en/guix-cookbook.html https://guix.gnu.org/en/blog/tags/cookbook/en/guix-cookbook.... -- although I've never read it front-to-back myself, just skimmed it and used it as a reference thereafter. Not sure if there's a full howto for your purpose, but you'd want to look into manifests: https://guix.gnu.org/en/blog/2019/guix-profiles-in-practice/ https://guix.gnu.org/en/blog/2019/guix-profiles-in-practice/ There is a guix command for generating a manifest from the current profile as well, but it's not mentioned in the above link: guix package --export-manifest