nixos-config VS nix

Compare nixos-config vs nix and see what are their differences.

WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
nixos-config nix
20 373
8 10,879
- 6.6%
9.4 10.0
7 days ago 7 days ago
Nix C++
MIT License GNU Lesser General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nixos-config

Posts with mentions or reviews of nixos-config. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-21.
  • how do you keep your installation clean and tidy?
    1 project | /r/linuxquestions | 10 Jun 2023
    I use Nix/NixOS. My system state is a direct result of my config that is declared in a bunch of text files. For example, leaf packages that are installed system-wide are declared here: https://github.com/Atemu/nixos-config/blob/e646c4ec1aac80cfdf7b8c79debcfaee70237018/packages.nix
  • Audiophiles on Linux; how is it?
    2 projects | /r/linuxquestions | 21 Feb 2023
    If it matters, my distro is NixOS and here's the machine's system config: https://github.com/Atemu/nixos-config/blob/95f9bb201ab4c2ab95fb3089909f5951a0646699/configs/HEPHAISTOS/default.nix
  • How do you backup/restore your system?
    1 project | /r/linuxquestions | 21 Jul 2022
    If something really goes south, I can have my entire system rebuilt automatically almost to the bit within 5-20min (mostly dependant on Internet speed) because my system is reproducible from just a bunch of text files.
  • Yast like tool for other distros?
    2 projects | /r/linuxquestions | 2 Jul 2022
    Here's my desktop configuration to give you an idea: https://github.com/Atemu/nixos-config/blob/0e97d9af632852e7440563a9b5976663e61071b7/desktop.nix
  • What distro are you guys running?
    4 projects | /r/linux_gaming | 28 Mar 2022
    If you want to know more: https://nixos.org/ Here's how such a system declaration can look like: My current desktop configuration, packages "installed" system-wide.
  • 1:1 backups, am i missing something obvious
    2 projects | /r/btrfs | 21 Feb 2022
    If you're looking for a way to restore your system configuration should your drive go kaput, perhaps look into declarative means of configuration instead. With those, your system is defined by a few text files and restoring or duplicating it is trivial. If you want to stay with Arch (great distro), imperative tools like Ansible, Puppet or Chef should work. If you want to try greener pastures, look into NixOS which is what I use. All I need to restore my machine is a few text files like this one (I just clone the git repo).
  • Finding a viable altarnative to arch linux
    1 project | /r/linuxquestions | 18 Feb 2022
  • Getting rid of the need for the usecase Linux distribution
    1 project | /r/linux_gaming | 3 Feb 2022
    It only takes https://github.com/Atemu/nixos-config/blob/master/configs/HEPHAISTOS/default.nix#L14 and all these settings are applied: https://github.com/Atemu/nixos-config/blob/af0960a7f7b0d6b9d775015c63a107ede6f63c82/desktop.nix
  • Does anyone else record all the changes they make and store it in a bash script?
    6 projects | /r/linuxquestions | 23 Dec 2021
    Here's the list of packages available in all my systems or my desktop configuration to give you an idea.
  • How NixOS does distro-building right
    1 project | /r/linux | 10 Dec 2021
    Set it up once precisely the way you like it, run forever. You only need slight tweaks every now and then to keep up with progress. On how many machines you want with as much shared configuration you want, any time you want. If your NixOS boot drive died, you could have a working NixOS system that's exactly[3] like the old one in a matter of minutes depending on your internet and hardware speed. (Without user data of course.) All you need is one (or a few if you prefer) lean text files that can and should be tracked in a git repo like this on: https://github.com/Atemu/nixos-config

nix

Posts with mentions or reviews of nix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-28.
  • OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computers
    2 projects | news.ycombinator.com | 28 Apr 2024
  • Eelco Dolstra's leadership is corrosive to the Nix project
    6 projects | news.ycombinator.com | 22 Apr 2024
    > https://github.com/NixOS/nix/pull/9911#issuecomment-19252073...
  • I use NixOS for my home-server, and you should too!
    1 project | dev.to | 22 Apr 2024
    As we covered in my last post, NixOS is a amazing Linux distribution for creating stable and declared environments. Now while this is amazing for a desktop setup, it is also perfect for a home-server or home-lab.
  • Tvix – A New Implementation of Nix
    8 projects | news.ycombinator.com | 16 Apr 2024
    (Nix itself is slowly chugging along with Windows via MinGW - https://discourse.nixos.org/t/nix-on-windows/1113/108 and https://github.com/NixOS/nix/issues/1320 , for example.)
  • Colima k8s nix setup
    4 projects | dev.to | 16 Apr 2024
    Nix is a cross-platform package manager. It uses the nix programming language. Nix and NixOs are often used in the same context, but while the first is a package manager, the latter is a linux distribution based on nix.
  • NixOs - Your portable dev enviroment
    1 project | dev.to | 8 Apr 2024
    Today I want to talk to you about Nixos. What is it? Nixos is a declarative and reproducible OS, partly taking the words used on their own page. What does that mean?
  • Nix – A One Pager
    6 projects | news.ycombinator.com | 6 Apr 2024
    Software developers often want to customize:

    1. their home environments: for packages (some reach for brew on MacOS) and configurations (dotfiles, and some reach for stow).

    2. their development shells: for build dependencies (compilers, SDKs, libraries), tools (LSP, linters, formatters, debuggers), and services (runtime, database). Some reach for devcontainers here.

    3. or even their operating systems: for development, for CI, for deployment, or for personal use.

    Nix provision all of the above in the same language, with Nixpkgs, NixOS, home-manager, and devShells such as https://devenv.sh/. What's more, Nix is (https://nixos.org/):

    - reproducible: what works on your dev machine also works in CI in prod,

    - declarative: you version control and review your configurations and infrastructure as code, at a reasonable level of abstraction,

    - reliable: all changes are atomic with easy roll back.

  • Tools for Linux Distro Hoppers
    7 projects | dev.to | 27 Mar 2024
    Hopping from one distro to another with a different package manager might require some time to adapt. Using a package manager that can be installed on most distro is one way to help you get to work faster. Flatpak is one of them; other alternative are Snap, Nix or Homebrew. Flatpak is a good starter, and if you have a bunch of free time, I suggest trying Nix.
  • Ask HN: Could Nix make crypto mining more efficient?
    1 project | news.ycombinator.com | 1 Mar 2024
    - it reduces bloat, because you can generate an environment or OS image with only the software needed to run a specific program or service

    My guess is that a big efficiency gain would come from the second point, because you don't waste CPU on code that you don't use.

    Does this make sense? Has anyone explored this?

    [0]: https://nixos.org

  • Go + Hypermedia - A Learning Journey (Part 1)
    6 projects | dev.to | 23 Feb 2024
    1) Setting up the development environment - I currently use devcontainers for most things, but may also dig into nix -> isolated, portable, repeatable development environment 2) Exploring Echo - understand routing, requests, response, etc. 3) Incorporate Templ - integration with Echo, template composition, etc. 4) Integrating TailwindCSS - config for use with Echo/Templ, development cycle, deployment, etc. 5) Add in HTMX - endpoints, template structure, concepts, etc. 6) hyperscript for interactivity - client side interactivity

What are some alternatives?

When comparing nixos-config and nix you can also consider the following projects:

docker-install - Docker installation script

asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more

manjarno - Reasons for which I don't use Manjaro anymore

distrobox - Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox

artix-installer - A simple installer for Artix Linux

void-packages - The Void source packages collection

Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]

flatpak - Linux application sandboxing and distribution framework

Ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.

homebrew-emacs-plus - Emacs Plus formulae for the Homebrew package manager

debian-post-installation-guide - A personal guide for steps and tips after the installation of Debian GNU/Linux

guix - Read-only mirror of GNU Guix — pull requests are ignored, see https://guix.gnu.org/en/manual/en/guix.html#Submitting-Patches instead