2023 Nix Survey Results
The Nix community is growing at an exciting pace, which makes it harder and more important to understand who comprises our community, what people use and care about, and the main pain points that frustrate users or impede progress and adoption. Therefore, the Nix Marketing Team conducts a yearly survey to better undestand these issues. Your feedback helps develop Nix, Nixpkgs, and NixOS to match your needs and come up with new ideas for better serving and growing the community.
tl;dr
- Compared to last year, we had more respondents, of which a good proportion were newcomers.
- The community may slowly trend towards more diversity in terms of technical background and occupation.
- The Nix ecosystem is still difficult to navigate and work with (developer experience, sparse or unclear documentation, lack of recipes)
- Nonetheless, most respondents consider that the benefits of using Nix/NixOS outweigh all the downsides.
We will try to make next year’s survey easier to complete and tailor it to better support the other community teams. Communication should also be improved to increase outreach and get more people to respond.
Total Participation, Response Rate
We received 1708 full responses, an increase of 15% compared to last year.
Taking into account the fact that most questions are conditionally prompted depending on a respondent previous answers, on average questions were answered 67% of the time. Without much surprise, the simplest questions (single choice questions) had the most engagement from respondents, but the order of the questions seem to matter as well (R²=0.30).
Warning
For many questions, respondents could select multiple choices. As such, in this analysis, percentages for such questions are percentages of “Yes” answers for the choice itself, represented in green. This explains why percentages for a seemingly unique question will not add up to 100%.
Single choice question are represented in blue, and the sum of all percentages is 100%.
The Shape of the Nix Community
Respondents were either from Europe (50%) or North America (23%) for the most part.
Given that many respondents did not state their gender (14%), there is a lot of uncertainty on the exact results. That being said, it is clear that most respondents were men (>80%). We may consider discarding this question, as did Stack Overflow and other surveys.
GNU/Linux is used by a large part of the community (80%), but other operating systems like Windows (27%) or macOS (26%) are also quite widespread. Surprisingly, about 50 respondents were Windows-only users.
Most people in the community are Backend Developers (31%), which is less than last year (was 40%, meaning a drop by 25%).
Overall, the “shape” of our community is largely the same as last year. However, we do see a reduced concentration of the previously most common profiles, which have a lower percentage than last year. One could say that the distribution is “flattening” a bit, which means that the Nix user base seems to be a bit more diverse. It will be interesting in coming years to see if this is an actual trend or not.
Nix at Work
The majority of respondents who use Nix do so on a daily basis (77%). As mentioned last year, this aligns with the expectation that those most interested in providing feedback are frequent users. Keep this in mind when reviewing the data and takeaways.
Most respondents have been using Nix for less than a year (38%), which hints at an increase of new users. Unfortunately we didn’t receive as many answers from users who have been using Nix for 1-3 years as we would have expected. Indeed, last year’s respondents who were, at the time, users with less than a year of experience should now have been part of the “1-3 years” group, making it grow accordingly. This would mean that many respondents with now 1-3 years of experience did not respond to the survey this year.
57% of respondents said they use Nix for work. At the same time, respondents said that they use Nix for at least one of their personal projects (88%). This could be interpreted that Nix users are very enthusiastic and want to use Nix, but either they deem it not ready for industrial use or Nix is not part of the tech stack at their workplace.
Key Themes
Last year, we had noticed 5 key themes:
- The “superpower”: Nix/NixOS is declarative and reproducible
- Nix/NixOS has a steep learning curve
- Nix/NixOS needs better documentation
- Nix is hard to debug
- It is hard to contribute back to the Nix ecosystem
This year is not too different: most Nix users love it for what it does well. Nix is used because it allows declarative configuration of reproducible systems and builds. Once you fix something, it stays fixed!
However, even the most enthusiastic Nix users agree on the fact that it has a very steep learning curve at every step. It is hard to get into Nix as a user, as a developer, and as a maintainer.
For each participant profile, people largely agree that the Nix documentation is one of the biggest issue. Sometimes because it is lacking, sometimes because it is unclear or not up to date. More specifically for beginners, it lacks comprehensive, accessible examples and recipes.
The barriers for wider adoption are that it is too difficult to make things work for particular use cases, or that documentation is not good enough.
Next Steps
Our goal is to help all of us understand what the community needs and wants. This information will benefit all parts of the Nix ecosystem, helping teams plan and prioritise efforts to meet the community’s needs.
We’ll be doing the Nix Community Survey again next year, and we’re working on making it even better. We gathered a lot of feedback from the last question of the survey, and plan to act on it.
I would like to thank everyone who helped make it happen yet again, and hope to see you all again next year!
Results
Below are all the quantitative results.
Method
The Nix Marketing Team conducted an online survey of 47 questions, of which 13 were single choice questions, 17 multiple choices, 4 ranking and 13 open-ended.
The survey was open for a one month period from June 11th until July 10th. We announced the survey by way of postings to Nix Discourse, Matrix, LinkedIn and Twitter.
The survey was split into four subsections:
- Background Information
- Nix User Questions
- NixOS User Questions
- Misc. Questions
Once the survey window was closed we split the analysis into two: multiple choice questions and open-ended questions. Multiple choice was analyzed numerically by compiling the responses by count and percentages, and comparing to previous year’s results. Open-ended questions were analyzed by manually reviewing the responses. The survey analysis was conducted throughout the month of August.
Final words
Huge thanks to all the people who contributed to the survey: @kranzes @ron @fricklerhandwerk @garbas @Arsleust
If you’d like to help organize next year’s survey please contact the marketing team on Matrix: #marketing:nixos.org
See you next year!