nixpkgs
nixos-hardware
Our great sponsors
nixpkgs | nixos-hardware | |
---|---|---|
974 | 69 | |
15,656 | 1,532 | |
5.3% | 7.8% | |
10.0 | 9.5 | |
2 days ago | 8 days ago | |
Nix | Nix | |
MIT License | Creative Commons Zero v1.0 Universal |
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.
nixpkgs
- Maintainers Leaving
-
Air Force picks Anduril, General Atomics to develop unmanned fighter jets
https://github.com/NixOS/nixpkgs/commits?author=neon-sunset
-
Eelco Dolstra's leadership is corrosive to the Nix project
I see two signers in the top 6 displayed on https://github.com/NixOS/nixpkgs/graphs/contributors
-
3rd Edition of Programming: Principles and Practice Using C++ by Stroustrup
For a single file script, nix can make the package management quite easy: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-f...
For example,
```
- NixOS/nixpkgs: There isn't a clear canonical way to refer to a specific package
-
NixOS Is Not Reproducible
Yes, Nix doesn't actually ensure that the builds are deterministic. In fact it works just fine if they aren't. There are packages in nixpkgs that aren't reproducible: https://github.com/NixOS/nixpkgs/issues?q=is%3Aopen+is%3Aiss...
-
The xz attack shell script
I'm not familiar with Bazel, but Nix in it's current form wouldn't have solved this attack. First of all, the standard mkDerivation function calls the same configure; make; make install process that made this attack possible. Nixpkgs regularly pulls in external resources (fetchUrl and friends) that are equally vulnerable to a poisoned release tarball. Checkout the comment on the current xz entry in nixpkgs https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/comp...
-
Debian Git Monorepo
NixOS uses a monorepo and I think everyone's love it.
I love being able to easily grep through all the packages source code and there's regularly PRs that harmonizes conventions across many packages.
Nixpkgs doesn't include the packaged software source code, so it's a lot more practical than what Debian is doing.
https://github.com/NixOS/nixpkgs
-
From xz to ibus: more questionable tarballs
In this specific case, nix uses fetchFromGitHub to download the source archive, which are generated by GitHub for the specified revision[1]. Arch seems to just download the tarball from the releases page[2].
[1]: https://github.com/NixOS/nixpkgs/blob/3c2fdd0a4e6396fc310a6e...
[2]: https://gitlab.archlinux.org/archlinux/packaging/packages/ib...
-
GitHub Disabled the Xz Repo
True, but irrelevant -- _some packages_, _somewhere_, do depend on xz, which, if built, requires pulling the source from GitHub (see the default.nix: https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/tools...)
It's not the vulnerability that's a problem right now (NixOS was protected by a couple of factors) but rather GitHub's hamfisted response.
That is the problem.
nixos-hardware
-
Microsoft Is Driving Users Away
Always useful to look at the seemingly endless stream of Linux information, the Arch wiki:
https://wiki.archlinux.org/title/ASUS_ROG_Zephyrus_G14_(2022...
Also NixOS has a nixos-hardware repository with configurations for some laptops:
https://github.com/NixOS/nixos-hardware/tree/master/asus/zep...
Reasonably legible if you ever programmed anything
-
Unable to start ROG Control Center
{ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix # Additional hardware specific configuration # https://github.com/NixOS/nixos-hardware ];
-
NixOS Unstable - Nvidia - Hyprland
You could try this repo for hardware support on various laptops if yours is on it: https://github.com/NixOS/nixos-hardware
-
macOS Sonoma Broke Grep
https://github.com/NixOS/nixos-hardware
- NixOS on Hyper-V (Win11)
- System crashes when Fn+f5/6/7/8/9 is pressed.
-
A couple nooby questions
Btw, for starters, I think you can learn a lot by checking other's configurations and from things like https://github.com/NixOS/nixos-hardware. There are a lot of useful/essential configurations that are not enabled by default.
-
Setup -Advice or another attempt to dive deep
in that case do note that this module assumes you use nixos-hardware, otherwise you can remove lines 161-165. I can also send you my VM's libvirtd .xml file when you get around to creating it.
-
Xorg fails to start with the modesetting driver
My computer is a Lenovo Legion 5 Pro with a dual GPU setup (AMD iGPU + Nvidia DGPU) where I'm using a "hybrid mode" configuration provided by nixos-hardware, using PRIME offload.
Not too long ago nixos-hardware changed the default Xorg driver for AMD to modesetting from amdgpu.
What are some alternatives?
asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
rtw89 - Driver for Realtek 8852AE, an 802.11ax device
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
USB-WiFi - USB WiFi Adapter Information for Linux
git-lfs - Git extension for versioning large files
nix-gui - Use NixOS Without Coding
easyeffects - Limiter, compressor, convolver, equalizer and auto volume and many other plugins for PipeWire applications
nonguix
spack - A flexible package manager that supports multiple versions, configurations, platforms, and compilers.
nonguix - Nonguix mirror – pull requests ignored, please use upstream for that
waydroid - Waydroid uses a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu.
rnix-lsp - WIP Language Server for Nix! [maintainer=@aaronjanse]