nixos-config VS Ansible

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

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. (by ansible)
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
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
nixos-config Ansible
20 391
8 61,137
- 1.1%
9.4 9.8
7 days ago 5 days ago
Nix Python
MIT License GNU 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

Ansible

Posts with mentions or reviews of Ansible. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-27.
  • Ansible Basics: Your First HelloWorld Playbook πŸš€
    2 projects | dev.to | 27 Apr 2024
    Ansible is an open-source IT automation tool that simplifies application deployment, cloud provisioning, and configuration management across diverse environments. It uses a declarative language to describe the desired state of the system, and then takes the necessary actions to achieve that state. Ansible has become incredibly popular due to its simplicity, agentless architecture, and extensive community support. Document: ansible.com, ansible basics
  • Grant Kubernetes Pods Access to AWS Services Using OpenID Connect
    5 projects | dev.to | 22 Apr 2024
    Ansible v2.16
  • Set up an Automation script with Ansible
    1 project | dev.to | 21 Apr 2024
    Ansible is a tool used to help manage software automation processes, configuration management across machines, deployment as well as remote execution of commands and scripts. In sports, Ansible operates as the coach of your team by providing strategies (playbooks), and actions, and ensuring the smooth execution of tasks across your infrastructure, just like a coach guides and directs players (Servers)during a game.
  • Interesting Uses of Ansible's ternary filter
    3 projects | news.ycombinator.com | 22 Feb 2024
    They support for-if from python, too: https://jinja.palletsprojects.com/en/3.1.x/templates/#loop-f... but I haven't tried the "recursive" keyword to know if ansible supports that. I say "ansible supports that" because they don't just drop jinja2 into ansible and call it a draw, they have a bunch of custom execution integrations: https://github.com/ansible/ansible/blob/v2.16.3/lib/ansible/...
  • The 2024 Web Hosting Report
    37 projects | dev.to | 20 Feb 2024
    To manage a VM, you can use something as simple as just manual actions over SSH, or can use tools like Ansible, Hashicorp's Packer and Terraform or other automations. For an app where there is minimal load and security/reliability concern, VMs are still a great option that provide a lot of value for the buck
  • A Journey to Find an Ultimate Development Environment
    13 projects | dev.to | 2 Feb 2024
    In this article's context, it is simply a tool that provides a declarative way to automate your machine/OS to configure the development machine as you want (install package, modify the configuration, etc). Examples of these tools are Ansible, Puppet, etc.
  • The Director of "Toy Story" Also Drew the BSD Daemon Logo
    1 project | news.ycombinator.com | 17 Jan 2024
    Now we're getting more tangential, but for years, Ansible releases were named for Van Halen songs (see old Changelog here: https://github.com/ansible/ansible/blob/v1.8.4/CHANGELOG.md)
  • Running stateful workloads on Kubernetes with Rook Ceph
    4 projects | dev.to | 26 Dec 2023
    In the lab to follow, we'll quickly provision a 3-node kubeadm cluster (1 master, 2 workers) on the cloud provider of your choice using an automation stack comprised of OpenTofu and Ansible, then deploy Rook Ceph using the official Helm charts and confirm that we are now able to successfully create CSI volume snapshots from PVCs by reusing the MinIO example from our last article.
  • Looking for a way to remote in to K's of raspberry pi's...
    11 projects | /r/sysadmin | 10 Dec 2023
  • ansible builder collections path
    2 projects | /r/ansible | 6 Dec 2023

What are some alternatives?

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

docker-install - Docker installation script

Cloud-Init - unofficial mirror of Ubuntu's cloud-init

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

pyinfra - pyinfra automates infrastructure using Python. It’s fast and scales from one server to thousands. Great for ad-hoc command execution, service deployment, configuration management and more.

artix-installer - A simple installer for Artix Linux

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

Fabric - Simple, Pythonic remote execution and deployment.

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

cloudinit - Official upstream for the cloud-init: cloud instance initialization

bees - Best-Effort Extent-Same, a btrfs dedupe agent

Pulumi - Pulumi - Infrastructure as Code in any programming language. Build infrastructure intuitively on any cloud using familiar languages πŸš€