Nix Linux

Open-source Nix projects categorized as Linux

Top 19 Nix Linux Projects

  • nixpkgs

    Nix Packages collection & NixOS

  • Project mention: Enlightenmentware | news.ycombinator.com | 2024-05-20

    I don't think there's a right way to do it, you are correct in that learning NixOS is pretty tedious.

    Re: flakes, my personal opinion is to use flakes. While Flakes are imperfect, they still provide a lot of functionality that Nix doesn't otherwise have. In my mind, it's like Nix's equivalent of "Go modules" or something like that. I do feel like people who do not like flakes make many valid points (the boilerplate, the fact that the top-level flake expression is a subset of Nix for some reason, etc.) but the argument isn't that those problems shouldn't be solved, it's that flakes are a sub-optimal design. Since they're so proliferated throughout the ecosystem though, it is quite unlikely that Nix or any prominent fork will outright drop flakes support any time in the near future. For better or worse, Flakes are part of the Nix ecosystem for the foreseeable future. In my opinion, one may as well take advantage of that.

    If you haven't already, I'd get your feet wet with installing Nix on a non-NixOS machine first, and please feel free to ask questions about Nix in the NixOS Discourse "Help" section.

    I have some recommendations:

    1. https://github.com/nix-community/nix-direnv - Since Nix derivations usually wrap around other build systems, the entire derivation is recomputed when any file in it changes; using direnv, you can just get your normal dev tools upon cd'ing into your project directories. This gives you a lot of the benefits of Nix during local development, but with your normal stack, and without needing to globally install anything.

    2. If you are trying to build something, chances are you can find inspiration in Nixpkgs. Are you curious how you might package a Bevy game? No problem: literally search "bevy" on the Nixpkgs GitHub repo and see what comes up. I found a derivation that does: https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/jump...

    3. If you use flakes, you should keep the flake "schema" handy. There are a lot of different kinds of flake outputs and there are different ways to specify the same thing, which is somewhat needlessly confusing; keeping the flake schema handy will make it easier to understand what Nix is looking for in a flake, which might make it easier to see what's going on (especially if it's obfuscated.) The most important takeaway here: A command like `nix run flake#attr` will try multiple different attributes. https://nixos.wiki/wiki/flakes#Flake_schema

    4. Likewise, I really recommend reading up on what NixOS modules are. NixOS modules are the basis for configurations on NixOS, and having a clear understanding of what is even going on with them is a good idea. For example, you should understand the difference between the Nix language's `import` directive, and using the NixOS modules `imports` attribute to import other NixOS modules. Understanding how the configuration merge works saves a lot of headache, makes it easier to understand how people's configurations works, and also makes it easier to modularize your own NixOS configurations, too. https://nixos.wiki/wiki/NixOS_modules

    Unfortunately though, there's just no way to make it "click", and I can't guarantee that it's worth all of the effort. For me, I felt it was, but yes, there's no one correct way to do it.

    But please feel free to ask questions if anything seems confusing.

  • nixos-and-flakes-book

    :hammer_and_wrench: :heart: Want to know NixOS & Flakes in detail? Looking for a beginner-friendly tutorial? Then you've come to the right place! 想要学习使用 NixOS 与 Flakes 吗?在寻找一份新手友好的教程?那你可来对地方了!

  • Project mention: NixOS: Declarative Builds and Deployments | news.ycombinator.com | 2024-01-14

    I'll be honest, the first few times I tried using Nix I just couldn't get into. It was too complex for the benefits I was getting. But that was using Nix on another OS.

    I recently switched to NixOS because I wanted what they were selling and the experience this time around was way better. Having no other option but to figure it out made me learn the essentials real quick (like an exchange program to a foreign country that speaks another language).

    If you think about it, when you used Ubuntu or Fedora or RHEL for the first time, and probably for a very long time, you could get by without learning the deep intricacies of what is going on behind the scenes. The same is true with NixOS. The things you need to learn are different, but once you get a basic setup with home-manager setup you're off to the races. (Btw, I used this "book" to get started and it was great: https://nixos-and-flakes.thiscute.world/)

    The best part about using NixOS so far is that things just work. Setting up my graphics card was as simple setting enabled = true. Same for configuring specific audio frameworks. And I had tried many times to get Davinci Resolve working on other distros and always encountered issues leading me to need to dual-boot Windows so I could do video editing. Now I just enabled Davinci Resolve and it works! No more Windows.

    If you're brand new to linux on the desktop, I wouldn't recommend it. But if you've been doing that for years, maybe try NixOS in 2024.

  • 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.

    InfluxDB logo
  • nix-config

    :space_invader: NixOS configuration

  • crystal

    nix dotfiles for chilly people (by chadcat7)

  • yuki

    雪 - Yuki | Snowflake :snowflake:

  • Project mention: Review this way of installing awesomewm | /r/NixOS | 2023-06-22

    This is what I use to install custom awesomewm. This is taken from rxyhn/yuki dotfiles. And here is my dotfiles.

  • kuro

    An elegant Microsoft ToDo desktop client for Linux (a fork of Ao)

  • nix-rice

    A library to functionally define your configuration and theme (rice) with Nix

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • athena-nix

    Athena OS Nix configuration files focused on Cybersecurity. Learn, practice and enjoy with any hacking tool!

  • Project mention: Does AthenaOS make sense for daily use? | /r/DistroHopping | 2023-12-09

    Which Athena did you mean? cause this (Athena Os)[https://athenaos.org] is alive

  • dotfiles

    ❄️ mi casa es tu casa (by nekowinston)

  • dotfiles

  • linux-desktop

    My system configuration.

  • dotfiles

    My PC Dotfiles & Website (by maydayv7)

  • nix-home-manager

    Nix to manage my computing life

  • hana

    花 - Hana | Nixos dotfiles (by mobsenpai)

  • Project mention: Guys help me! No idea what I am doing wrong | /r/NixOS | 2023-11-11

    Check the repo for more or ask me here. Thank you.

  • dotnix

    Personal NixOS & MacOS Configurations (by amz-x)

  • dotfiles

  • nixos

    Monorepo with Nix & Home-Manager configurations of my Linux, macOS fleet (by mipmip)

  • nix

    My Nix configuration (by alexghr)

  • dotfiles

    ❄️ Personal NixOS configuration (by runarsf)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Nix Linux related posts

  • Maintainers Leaving

    1 project | news.ycombinator.com | 26 Apr 2024
  • Air Force picks Anduril, General Atomics to develop unmanned fighter jets

    1 project | news.ycombinator.com | 25 Apr 2024
  • NixOS/nixpkgs: There isn't a clear canonical way to refer to a specific package

    1 project | news.ycombinator.com | 9 Apr 2024
  • NixOS Is Not Reproducible

    1 project | news.ycombinator.com | 7 Apr 2024
  • Combining Nix with Terraform for better DevOps

    4 projects | dev.to | 19 Mar 2024
  • Contributing Scrutiny to Nixpkgs

    3 projects | news.ycombinator.com | 24 Feb 2024
  • Going declarative on macOS with Nix and Nix-Darwin

    7 projects | news.ycombinator.com | 15 Jan 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 20 May 2024
    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. Learn more →

Index

What are some of the best open-source Linux projects in Nix? This list will help you:

Project Stars
1 nixpkgs 15,931
2 nixos-and-flakes-book 1,537
3 nix-config 756
4 crystal 563
5 yuki 437
6 kuro 312
7 nix-rice 87
8 athena-nix 57
9 dotfiles 56
10 dotfiles 40
11 linux-desktop 25
12 dotfiles 20
13 nix-home-manager 17
14 hana 16
15 dotnix 12
16 dotfiles 11
17 nixos 7
18 nix 5
19 dotfiles 3

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com