site image

    • Nixos vs gentoo. É super estável, funciona .

  • Nixos vs gentoo Gentoo has options for init system, mainly systemd and openrc. He had some bad run ins with compiling from scratch and takes the 4 or so bad cases vs the 25 or so good ones and just doesn't try. Posted something similar on the NixOS sublemmy, but it basically boils down to the fact that I tend to switch back and forth between both distros, and I enjoy both very much as both Gentoo and NixOS provide an immense degree of control over my system and allow me to go wild and do whatever I want. No, because Gentoo does not require rebuilding anything **as a consequence** of patching the libc or changing toolchain build flags. But if you want immutability and a bunch of perks like easy recovery, robust package manager, etc. , while Gentoo provides gentoo linux is a flexible and highly customizable linux When comparing Gentoo Linux vs NixOS, the Slant community recommends Gentoo Linux for most people. Então, atualmente estou usando o Fedora 37 c/ gnome como meu sistema padrão. Discuss what I have tried to do with nixos, and the varying degrees of success I’ve reached (and complain about the pain points). A year or so later I was doing a school internship at a local IT department, and one of the employees handed me a Debian CD. Eventually, I managed to acquire an X13 Gen 2 from the UK, promptly installing NixOS onto it. conf 7 ├── nixos-generation-103-specialisation-external-display. nix and paste it into the other machine's In theory, NixOS should be a lot better than Gentoo, Arch, and the likes. For desktop, NixOS will continue to be a niche, like Arch and Gentoo, because of the learning curve. Both Arch and NixOS are usability-oriented distros that make life easier (but in different Jul 21, 2024 · 👋 Hello fellow Nix users! I’m starting this conversation to better understand the state of nixpkgs and the way the community as a whole approaches the project. No global /usr/bin directory, preventing package collisions. In some cases, Gnome or X11 was broken, and I had to type in bizarre commands into the terminal, after googling them from w3m. conf 6 ├── nixos-generation-103. Gentoo overlay for nix and guix functional package managers. NixOS is one of the most advanced Linux distributions available. I’ve done this twice for each so far ever since I immediately started off my Linux journey with Gentoo, making a quick stop at Arch once when I didn’t have enough time to set either of them up properly. The first time I used GNU/Linux was back in 1996 when I installed Red Hat Linux on my grandfathers PC. However, there are several key differences that set them apart from each other. conf 9 ├── nixos-generation-105 In theory, NixOS should be a lot better than Gentoo, Arch, and the likes. Last year, I did the final jump and now I use NixOS on my personal machine. If I'm running Openbox, I start them from . When a compilation would fail 10 hours in on an old Athlon 2800+ or 3200+, it sucked to wake up to it in the morning and find it. On Gentoo you need to do a bit of gymnastics to ensure your system is upgraded to a sane state. Arch Linux is ranked 1st while NixOS is ranked 19th. The most important reason people chose Gentoo Linux is: On a technical level, its package management approach will feel like a larger paradigmatic leap, coming from a Fedora or an Ubuntu, than it would from a Gentoo. Void is so minimal and simple, but it has a huge lack of packages (compared to nixpkgs repository, the biggest repo for now). Recently I heard about the Nix package manager and I'm rather fascinated. Technically you could get to the same level of configuration using Gentoo by very liberal use of user patches, but after a while it may become quite clunky. Dec 25, 2023 · NixOSの内部コードを探りながら、どういったオプションを渡せば意図通りに動くかを推測しながら運用していくことになります。 Arch LinuxからNixOSに移行した際の注意点. Yes, maybe Nix language didn’t need to exist and we could have gotten away with an existing (slimmed down) language 1 $ tree /boot/loader/entries 2 /boot/loader/entries 3 ├── nixos-generation-100. # "setuptools" : Install a common setuptools/distutils based package. Debian is actually closer to Gentoo in this regard, these two want to allow you to "configure" the things you install, in very different ways, while Arch doesn't care about configurability at all. Lastly, the documentation is not as good as Arch. The main idea I love about NixOS - reproducibility (as I call it - “system as code”). conf 5 ├── nixos-generation-102. conf 4 ├── nixos-generation-101. preface: I'm aware of the differences between NixOs, Nix as a package manager, and the Nix programming language. Let me ask, can you use a pseudo logic (but use a close to gentoo way as possible) to do what you want so can help I understand better? I have feeling Gentoo may already do some degree of what Jul 19, 2023 · The full NixOS experience is definitely for the more masochistically inclined. Gentoo. If I didn’t have the Nov 21, 2023 · 不是「可复现」 NixOS 对用户的卖点根本不是什么「可复现」( docker 和 k8s 还不够么)。 我知道他们想说什么,但这么表达会让人 Get 不到。 如果你觉得 Nix 是脱裤子放屁,那你就是三个月前的我。我来和你说说我的心路历程。 Feb 21, 2024 · 本文最初发表于 如何评价NixOS? - 知乎,觉得比较有价值所以再搬运到我的博客。 我 23 年 4 月开始用 NixOS 之前看过(如何评价NixOS? - 知乎) 这个问答,几个高赞回答都从不同方面给出了很有意义的评价,也是吸引我入坑的原因之一。 NixOS 系列:让我们探索更多! 这是我们 Nix 系列的第一部分,我介绍了使用 NixOS 的原因。我相信更多的 Linux 用户应该去了解它,如果他们还没有了解的话。 在下一部分,我将解释如何在你的虚拟机中安装 NixOS。 欢迎在下面的评论中分享关于 NixOS 的其他内容的 When comparing NixOS vs Void Linux, the Slant community recommends Void Linux for most people. Gentoo 和 NixOS 都是基于源代码的发行版(相比 deb,rpm,Arch 等基于二进制的发行版)。基于源代码的发行版最大的优势是提供了自定义的可能:比如一个软件 foobar 动态链接 ssl ,ssl 有 2 种:openssl 和 libressl,那么 Gentoo 用户可以设置 `USE=XXXssl` 来获得 2 种使用不同 ssl 的 foobar,NixOS 用户通常默认使用 Comparing the customer bases of Gentoo and NixOS, we can see that Gentoo has 685 customer(s), while NixOS has 81 customer(s). We would like to show you a description here but the site won’t allow us. Package Management: Gentoo Linux utilizes the Portage package management system, which is source-based. NixOS Gentoo and NixOS are both Linux distributions known for their unique package management systems. The only other comparable documentation I found was gentoo. Security & Isolation Features. All packages are kept in isolation from each other. xinitrc. Still, I don’t think the distro, if used more casually, is quite that complex, and certainly not much harder to use for your average programmer than say arch or gentoo. Both of them provides a massive amount of control over This is more of a personal dilemma, since I keep finding myself switching back and forth between NixOS and Gentoo every now and then. This means that if you have Postgres running on a Gentoo machine and you want to create an identical setup on a 2nd machine, you have to remember to run the same emerge command with the same USE flags, track down each file under /etc that you've modified, and so on. Using Void at work, a few months ago started using NixOS at home. it emphasizes reliability and reproducibility through a purely functional configuration model, ensuring consistent behavior across different systems. Words like "functional" and "declarative" sound really sexy to a Haskell programmer like myself, not to mention the whole idea of an unbreakable system. Session config to me feels environment-dependent, magic, and sometimes touchy. Just to be clear - I love what Nix ecosystem has to offer and I do really want to stay here in the long term. Jun 19, 2023 · Rebuild and switch to the new configuration. When comparing NixOS vs Hardened Gentoo, the Slant community recommends Hardened Gentoo for most people. As NYKevin says, when Gentoo _does_ require rebuilding things, it's because you deliberately chose to use a source-first Mar 20, 2025 · NixOS in Kubernetes ensures immutable container configurations. NixOS, on the other hand, uses the Nix package manager, which focuses on declarative and reproducible package management. É super estável, funciona When comparing Nix vs Gentoo Linux, the Slant community recommends Gentoo Linux for most people. NixOSを扱いたがるような人は基本的にArchやGentoo上がりでしょうから Dec 19, 2023 · (Not in the case of "gentoo[1]" over "gentoo[0]", I mean inside of such a block like "gentoo[0]" ) This because it should always use the minimal dependency list , so the package can be reused when needed for other packages. It sound that NixOS but I am not sure if that is the right one. The most important reason people chose Gentoo Linux is: Apr 26, 2020 · An Honest Review of NixOS Posted on April 26, 2020 The overarching goal of this post comes in four main parts: Chronicle my experiences with linux and motivate nixos. , NixOS should be a great pick. nix: # Several package formats are supported. Among the various Linux distribution, one that has captured my attention for years is NixOS. In the question“What are the best Linux distributions for desktops?” Void Linux is ranked 9th while NixOS is ranked 19th. NixOS and Gentoo are both powerful solutions in their space. conf 8 ├── nixos-generation-104. Jan 30, 2023 · 老将 Gentoo、ArchLinux 和新秀 NixOS、Guix; 受 Void Linux 启发的 Chimera Linux 选取的软件包组件很有意思,但还在开发早期, 不建议日常使用 ; Solus Linux 作者刚刚开头的发行版 Serpent OS 试图吸收 NixOS 的独特软件包安装方式,并提供简单智能的打包方式,如果真能实现 Jun 8, 2022 · Building upon the above, the lifecycle of NixOS versus Gentoo is a lot less work on the user side. Gentoo uses Portage, a source-based package manager that allows users to customize and optimize their software installations. Jul 9, 2023 · システムの破壊?知るか!俺はNixOSだぞ! OSインストール. NixOS doesn't have quite the same notion of a repository as either of the former. Gentoo, at least when I ran it, caused me a ton of heartache. Gentoo 是一个滚动发布的发行版,非常适合喜欢探索和挑战其技术方面的人们。借助其 BSD 风格的包管理工具 Portage,您可以在安装期间和安装后轻松配置和自定义软件。 尽管安装过程经过强化,但它是一个灵活的发行版,可以在终端上运行良好。 如果你不需要 Ubuntu 那种的开箱即用的,觉得 Arch 那样的自己动手可以接受,喜欢 Gentoo 的可配置性,又不想自己完全编译整个世界,并且觉得所有系统配置全都由统一格式写出来的可复现性确实很棒,并且觉得那帮人为了 portable 和轻量级,自己做了个 Nix 语言 . For example, if I'm running Plasma on Gentoo, I go edit /etc/xdg/plasma-workspace to get ssh-agent and gpg-agent set up. Gentoo has wide hardware support Gentoo can be made very lightweight and minimal I have not messed around with the following, but it seems Gentoo has a great system for managing package patches and ability to manage mutliple versions of the same package. Explain why I recently switched to nixos. # nixos-rebuild switch; NixOS advantages Pro #1: Abstraction. Feb 20, 2019 · I made two demo implementations of Gentoo-like use-flags (https://github. The nice thing about NixOS is that a lot of different software can be configured using the same syntax. - trofi/nix-guix-gentoo Oct 2, 2016 · I recently tried nixos for about 7 months after using gentoo for a year and I just wanted to post a few comments about it on here. Compared to say Arch linux (with similar settings), I found that on average, the 1-min average load Dec 19, 2023 · But my guess is that you want to use declarative way to describe current system state. Doing day to day desktop tasks like watching youtube (firefox-wayland, firefox-bin and firefox), movies with mpv, using wine, and others. For enterprise server admins managing CPU intensive databases or media processing clusters, that free speed boost likely justifies the complexity hit during initial Unlike Arch, Gentoo provides official support for both systemd and OpenRC. And if I had to reinstall NixOS i could just easily do it with flake. Jul 12, 2023 · NixOS will continue to be niche and continue to be an alternative. Jul 17, 2021 · NixOS NixOS Linux illustration. I have a minimalist install: sway (wayland) firefox, and not much else. GNU Guix System Dec 12, 2021 · Looks like NixOS already has support for the new package type (pyproject). The concept of 'overlays', used to extend Nixpkgs, would be familiar to a Gentoo user but not a Fedora Jul 11, 2024 · > Really? Gentoo should have the same "problem" and unrelated to NixOS or derivatives. Mar 31, 2023 · 4. Pergunta Boa noite, galera. But if you're already running Arch Linux, NixOS is a step in a direction you do want to consider, but may not want to afford with your time. In the question“What are the best Linux distributions for misanthropes?” Hardened Gentoo is ranked 36th while NixOS is ranked 55th. The most important reason people chose Void Linux is: 用 NixOS 的话自己打包程序是不可避免的,因为即使 Nixpkgs 中已经有了这么多包,但它仍然不可能永远 100% 匹配你的需求,总有你想用但 Nixpkgs 跟 NUR 里边都没有的包,在 NixOS 上你常常必须要给你的包写个打包脚本,才能使它在 NixOS 上正常运行。 Mar 17, 2023 · Why NixOS is the perfect OS for me Posted on March 17, 2023; last changed on May 4, 2023. In the question“What are the best Linux distributions for desktops?” Gentoo Linux is ranked 3rd while Nix is ranked 75th. Both of them provides a massive amount of control over Before I go over my reasons for leaving NixOS for Gentoo I want to start by talking a bit about my history with GNU/Linux. com/NixOS/nixpkgs/issues/12877\) for nixpkgs: - Undesirable one [Demo] splice. Gentoo tries to provide the maximum degree of optimization possible. Gentoo has an amazingly awesome feature where you can maintain your own patches against packages in the Gentoo package system [1]. This feature can be useful when the corresponding upstream project is on life support, obstinate, you have eccentric desires, or otherwise your (or someone else's) patch has not been accepted upstream. Feb 21, 2025 · Gentoo Appeals to DevOps and Server Admins Chasing Hyper Optimization No doubt Gentoo‘s obsessive custom compiler configuration focus can squeeze out measurable performance gains. Although we currently default to setuptools. I also dont want to switch to Gentoo getting updates from github pkgs is so much easier. 学习曲线:虽然 NixOS 的安装和配置相对简单,但理解 Nix 包管理器的工作原理和学习如何编写 nix 表达式可能需要一些时间。 软件支持:尽管 NixOS 软件库相对丰富,但某些软件可能需要用户自己编写 nix 表达式来进行安装。 哪个更好用? 选择 Gentoo 如果你: 系统管理的灵活性:Gentoo > Devuan、Artix > * (这里主要是按照init的可选择性排的,在其它方面的灵活性似乎只有gentoo的slots,所以gentoo是当之无愧的第一)(NixOS为数不多的可成为黑点的地方是强制systemd。 Apr 19, 2023 · I used to use gentoo, but it has a few issues like rollback isn’t is easy as NixOS. Thinking I can use Nix as a backup package manager if there is something that takes too long to compile from portage. Then it should add an entry to the packages list ( gentoo[0]['packages']. To my surprise, I found myself not wanting to return to my old Gentoo-loaded hard drive - a companion of 10 years now gathering dust (rest in peace, little angel). nix: poor man Jul 26, 2020 · 最近刚刚把 Arch 给 lustrate 掉了。第一次重启的时候不出意料地(雾)没有成功启动 gdm,然后看见 gdm. During the build, NixOS detects that the sshd service depends on the openssh package, so it installs it. NixOS offers nixos is a linux distribution built around the powerful and declarative nix package manager. On NixOS you usually just run nixos-rebuild switch --upgrade to update. Nix also manages the dependencies in a different way by managing symlinks and hacking LD_PRELOAD, effectively slotting all packages on the system. Nov 20, 2022 · 可以说,NixOS 已经拥有较为丰富的 Linux 生态环境,适合用于各种一般用途。比如说开发,以及 Steam Play。 你应该尝试 NixOS 吗# 不论实际用途的轮子都是脱离实际的。在三周的 NixOS 配置经验后,我推荐这样的人使用它: 拥有强大的自我解决问题能力的。 Dec 19, 2023 · But my guess is that you want to use declarative way to describe current system state. The most important reason people chose Arch Linux is: Arch's goal of simplicity means there's usually one preferred way to get things done - through organized and well documented configuration files. In practice, with Gentoo I used to have issues when I installed a package, and it broke several other things. The most important reason people chose Gentoo Linux is: Gentoo Linux and NixOS are both popular Linux-based operating systems known for their unique features and approaches to package management. Please see this script I wrote to automate the process. It is also so much easier to maintain pkgs with patches, for example. append("x11-terms/xterm")) For power users, I would recommend either Linux From Scratch or Gentoo. NixOS. The most important reason people chose Hardened Gentoo is: When comparing Gentoo Linux vs Nix os , the Slant community recommends Gentoo Linux for most people. I really like the idea of a declarative os and having something like a git repository for os configurations. I wouldn't say it's bad but arch's wiki has ruined me. Perfect for sandboxed environments and high-security applications. NixOS is a unique distribution in the terms of how it approaches everything from the kernel to configuration to applications. In the question“What is the most secure Linux distro?” Gentoo Linux is ranked 4th while Nix os is ranked 16th. In the Server And Desktop OS category, with 685 customer(s) Gentoo stands at 49th place by ranking, while NixOS with 81 customer(s), is at the 73rd place. service 被 mask 了,以为是哪个设置把 gdm 给 mask 了才起不来,折腾了两个小时发现竟然是没 enable xserver,而 gdm 在 nixos 上本来就是被 mask 的,晕~ NixOS also downloads dependencies for each packages (also the dependnecies, if the version is correct, is shared), which takes some space (although not that much). If comfortable with systemd, Gentoo users will also generally feel at ease with most other aspects of Arch. May 4, 2023 · I bought a new hard disk drive and gave NixOS a test run. お待たせしました。ここからは手を動かしていきましょう! NixOSにはグラフィカルインストーラーがあるのでそれを使っていきます。以下のリンクからISOをダウンロードしてUSBに焼いてください。 Fedora vs NixOS vs Gentoo . Currently in the middle of a distro hop from Arch to Gentoo but doing some reading on Nix (and Guix). on NixOS, you copy that block from your configuration. Because both the Gentoo and Arch installations only include a base system, both are considered to be highly customizable and emphasise user choice. In the question“What are the best Linux distributions for desktops?” Gentoo Linux is ranked 3rd while NixOS is ranked 19th. Each package is cryptographically hashed, ensuring package integrity. In mk-python-derivation. It has a decent language for configuration that makes it easy to customize the system. NixOS is built on top of the Nix package manager and everything from the kernel to configuration is based on it. This is more of a personal dilemma, since I keep finding myself switching back and forth between NixOS and Gentoo every now and then. Let me ask, can you use a pseudo logic (but use a close to gentoo way as possible) to do what you want so can help I understand better? I have feeling Gentoo may already do some degree of what Dec 3, 2022 · 6. Fret not, if you do not know about NixOS, you can explore our NixOS series to learn and set it up. This leads to many things "just working" better in NixOS than Gentoo. Comparison: NixOS vs. But I feel the need to settle on one system and tinker with the other on a VM instead, as this May 24, 2021 · I’ve been bench-marking Nixos against Arch linux, (also debian and clear linux). xhzduor ztg nuef syjeet brjbwt pajozro zwdnv vtme uza jczd